This API is preliminary and subject to change.
Configures an ID-based local cache.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
public class IdBasedLocalCacheConfig
Public Class IdBasedLocalCacheConfig
public ref class IdBasedLocalCacheConfig
public class IdBasedLocalCacheConfig
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
IdBasedLocalCacheConfig()()()() | Initializes a new instance of the IdBasedLocalCacheConfig class | |
CachedTypes |
Gets or sets the types that will be stored in the local cache.
Remarks
The cached types support inheritance, there is no need to add two types to the list if one inherits from the other.
| |
Equals(Object) |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
EvictionStrategyBuilder |
Gets or sets which ISegmentEvictionStrategyBuilder to use.
| |
Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
NumberOfSegments |
Gets or sets the number of segments to construct inside the local cache storage.
Remarks
Increasing this value decreased concurrency bottlenecks but increases storage overhead.
| |
SynchronizeMode |
Gets or sets the local cache synchronization mode, affects only if SynchronizeWithRemoteSpace is enabled.
| |
SynchronizeWithRemoteSpace |
Gets or sets whether to synchronize the local cache entries state with the remote space.
Meaning, if an entry is stored in the local cache and the same entry is updated in the remote space, whether is should
be updated in the local cache as well.
| |
ToString()()()() |
Returns a String that represents the current Object.
(Inherited from Object.) |
Inheritance Hierarchy
Object | |
IdBasedLocalCacheConfig |