Interface ISynchronizedObjectInstanceCache
Object instance cache that has support for synchronizing cache contents over multiple computers.
Inherited Members
Namespace: EPiServer.Framework.Cache
Assembly: EPiServer.Framework.dll
Version: 12.0.3Syntax
public interface ISynchronizedObjectInstanceCache : IObjectInstanceCache
Properties
ObjectInstanceCache
Gets the object instance cache used by the synchronized cache implementation.
Declaration
IObjectInstanceCache ObjectInstanceCache { get; }
Property Value
Type | Description |
---|---|
IObject |
The object instance cache. |
SynchronizationFailedStrategy
Get or set the strategy for handling missed synchronization information.
Declaration
FailureRecoveryAction SynchronizationFailedStrategy { get; set; }
Property Value
Type | Description |
---|---|
Failure |
The synchronization failure strategy. |
Methods
RemoveLocal(String)
Removes the object instance from the local cache.
Declaration
void RemoveLocal(string key)
Parameters
Type | Name | Description |
---|---|---|
System. |
key | The key of the cached object instance. |
RemoveRemote(String)
Removes the object instance from the remote cache location.
Declaration
void RemoveRemote(string key)
Parameters
Type | Name | Description |
---|---|---|
System. |
key | The key of the cached object. |