NearCacheConfigReadOnly Class |
Namespace: Hazelcast.Config
The NearCacheConfigReadOnly type exposes the following members.
Name | Description | |
---|---|---|
NearCacheConfigReadOnly | Initializes a new instance of the NearCacheConfigReadOnly class |
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetAsReadOnly |
Returns an immutable version of this configuration.
(Inherited from NearCacheConfig.) | |
GetEvictionPolicy |
Returns the eviction policy for the Near Cache.
(Inherited from NearCacheConfig.) | |
GetHashCode | (Inherited from Object.) | |
GetInMemoryFormat |
Returns InMemoryFormat (Inherited from NearCacheConfig.) | |
GetMaxIdleSeconds |
Gets the maximum number of seconds each entry can stay in the Near Cache as untouched (not read).
(Inherited from NearCacheConfig.) | |
GetMaxSize |
Returns the maximum size of the Near Cache. (Inherited from NearCacheConfig.)When the maxSize is reached, the Near Cache is evicted based on the policy defined. | |
GetName |
Returns the name of the Near Cache
(Inherited from NearCacheConfig.) | |
GetTimeToLiveSeconds |
Returns the maximum number of seconds for each entry to stay in the Near Cache (time to live). (Inherited from NearCacheConfig.)Entries that are older than timeToLiveSeconds will automatically be evicted from the Near Cache. | |
GetType | (Inherited from Object.) | |
IsCacheLocalEntries | Obsolete. (Inherited from NearCacheConfig.) | |
IsInvalidateOnChange |
Checks if Near Cache entries are invalidated when the entries in the backing data structure are changed
(updated or removed).
(Inherited from NearCacheConfig.)When this setting is enabled, a Hazelcast instance with a Near Cache listens for cluster-wide changes on the entries of the backing data structure and invalidates its corresponding Near Cache entries. Changes done on the local Hazelcast instance always invalidate the Near Cache immediately. | |
SetCacheLocalEntries | Obsolete. (Inherited from NearCacheConfig.) | |
SetEvictionPolicy |
Not supported function in readonly config, throws (Overrides NearCacheConfigSetEvictionPolicy(String).) | |
SetInMemoryFormat(String) |
Not supported function in readonly config, throws (Overrides NearCacheConfigSetInMemoryFormat(String).) | |
SetInMemoryFormat(InMemoryFormat) |
Not supported function in readonly config, throws (Overrides NearCacheConfigSetInMemoryFormat(InMemoryFormat).) | |
SetInvalidateOnChange |
Not supported function in readonly config, throws (Overrides NearCacheConfigSetInvalidateOnChange(Boolean).) | |
SetMaxIdleSeconds |
Not supported function in readonly config, throws (Overrides NearCacheConfigSetMaxIdleSeconds(Int32).) | |
SetMaxSize |
Not supported function in readonly config, throws (Overrides NearCacheConfigSetMaxSize(Int32).) | |
SetName |
Not supported function in readonly config, throws (Overrides NearCacheConfigSetName(String).) | |
SetTimeToLiveSeconds |
Not supported function in readonly config, throws (Overrides NearCacheConfigSetTimeToLiveSeconds(Int32).) | |
ToString | (Inherited from NearCacheConfig.) |