November Happy Hour will be moved to Thursday December 5th.

Interface ISynchronizedObjectInstanceCache

Object instance cache that has support for synchronizing cache contents over multiple computers.

Namespace: EPiServer.Framework.Cache
Assembly: EPiServer.Framework.dll
Version: 11.20.7
Syntax
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
IObjectInstanceCache

The object instance cache.

SynchronizationFailedStrategy

Get or set the strategy for handling missed synchronization information.

Declaration
FailureRecoveryAction SynchronizationFailedStrategy { get; set; }
Property Value
Type Description
FailureRecoveryAction

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.String 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.String key

The key of the cached object.

Extension Methods