View Source
Class DatabaseServerMessenger
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class DatabaseServerMessenger : ServerMessengerBase, IServerMessenger, ISyncBootStateAccessor
Constructors
View Source
DatabaseServerMessenger(IRuntimeState, IScopeProvider, ISqlContext, IProfilingLogger, IGlobalSettings, Boolean, DatabaseServerMessengerOptions)
Declaration
public DatabaseServerMessenger(IRuntimeState runtime, IScopeProvider scopeProvider, ISqlContext sqlContext, IProfilingLogger proflog, IGlobalSettings globalSettings, bool distributedEnabled, DatabaseServerMessengerOptions options)
Parameters
Fields
View Source
LocalIdentity
Gets the unique local identity of the executing AppDomain.
Declaration
protected static readonly string LocalIdentity
Field Value
Type |
Description |
System.String |
|
Properties
View Source
Logger
Declaration
protected ILogger Logger { get; }
Property Value
View Source
Options
Declaration
public DatabaseServerMessengerOptions Options { get; }
Property Value
View Source
ScopeProvider
Declaration
protected IScopeProvider ScopeProvider { get; }
Property Value
Methods
View Source
Boot()
Declaration
[Obsolete("This is no longer used and will be removed in future versions")]
protected void Boot()
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
GetSyncBootState()
Declaration
public virtual SyncBootState GetSyncBootState()
Returns
View Source
RequiresDistributed(ICacheRefresher, MessageType)
Declaration
protected override bool RequiresDistributed(ICacheRefresher refresher, MessageType dispatchType)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
Sql()
Declaration
protected Sql<ISqlContext> Sql()
Returns
View Source
Sync()
Synchronize the server (throttled).
Declaration