View Source
Class BatchedDatabaseServerMessenger
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
public class BatchedDatabaseServerMessenger : DatabaseServerMessenger, IServerMessenger, ISyncBootStateAccessor
Constructors
View Source
BatchedDatabaseServerMessenger(IRuntimeState, IUmbracoDatabaseFactory, IScopeProvider, ISqlContext, IProfilingLogger, IGlobalSettings, Boolean, DatabaseServerMessengerOptions)
Declaration
[Obsolete("This overload should not be used, enableDistCalls has no effect")]
public BatchedDatabaseServerMessenger(IRuntimeState runtime, IUmbracoDatabaseFactory databaseFactory, IScopeProvider scopeProvider, ISqlContext sqlContext, IProfilingLogger proflog, IGlobalSettings globalSettings, bool enableDistCalls, DatabaseServerMessengerOptions options)
Parameters
View Source
BatchedDatabaseServerMessenger(IRuntimeState, IUmbracoDatabaseFactory, IScopeProvider, ISqlContext, IProfilingLogger, IGlobalSettings, DatabaseServerMessengerOptions)
Declaration
public BatchedDatabaseServerMessenger(IRuntimeState runtime, IUmbracoDatabaseFactory databaseFactory, IScopeProvider scopeProvider, ISqlContext sqlContext, IProfilingLogger proflog, IGlobalSettings globalSettings, DatabaseServerMessengerOptions options)
Parameters
Methods
View Source
BatchMessage(ICacheRefresher, MessageType, IEnumerable<Object>, Type, String)
Declaration
protected void BatchMessage(ICacheRefresher refresher, MessageType messageType, IEnumerable<object> ids = null, Type idType = null, string json = null)
Parameters
Type |
Name |
Description |
ICacheRefresher |
refresher |
|
MessageType |
messageType |
|
System.Collections.Generic.IEnumerable<System.Object> |
ids |
|
System.Type |
idType |
|
System.String |
json |
|
View Source
BatchMessage(ICacheRefresher, MessageType, HttpContextBase, IEnumerable<Object>, Type, String)
Declaration
protected void BatchMessage(ICacheRefresher refresher, MessageType messageType, HttpContextBase httpContext, IEnumerable<object> ids = null, Type idType = null, string json = null)
Parameters
Type |
Name |
Description |
ICacheRefresher |
refresher |
|
MessageType |
messageType |
|
System.Web.HttpContextBase |
httpContext |
|
System.Collections.Generic.IEnumerable<System.Object> |
ids |
|
System.Type |
idType |
|
System.String |
json |
|
View Source
DeliverRemote(ICacheRefresher, MessageType, IEnumerable<Object>, String)
Declaration
protected override void DeliverRemote(ICacheRefresher refresher, MessageType messageType, IEnumerable<object> ids = null, string json = null)
Parameters
Type |
Name |
Description |
ICacheRefresher |
refresher |
|
MessageType |
messageType |
|
System.Collections.Generic.IEnumerable<System.Object> |
ids |
|
System.String |
json |
|
View Source
FlushBatch()
Declaration
View Source
GetBatch(Boolean)
Declaration
protected ICollection<RefreshInstructionEnvelope> GetBatch(bool create)
Parameters
Type |
Name |
Description |
System.Boolean |
create |
|
Returns
View Source
GetBatch(Boolean, HttpContextBase)
Declaration
protected ICollection<RefreshInstructionEnvelope> GetBatch(bool create, HttpContextBase httpContext)
Parameters
Type |
Name |
Description |
System.Boolean |
create |
|
System.Web.HttpContextBase |
httpContext |
|
Returns
View Source
GetSyncBootState()
Declaration
public override SyncBootState GetSyncBootState()
Returns