NearCacheOptions Class
Namespace: Hazelcast.NearCaching
Assembly: Hazelcast.Net.dll
Represents the options for one Near Cache.
public class NearCacheOptions
Inherited Members
Constructors
Name | Description |
---|---|
NearCacheOptions() | Initializes a new instance of the NearCacheOptions class. |
Properties
Name | Description |
---|---|
EvictionPolicy | Gets or sets the eviction policy. |
InMemoryFormat | Gets or sets the in-memory format. |
InvalidateOnChange | Whether to invalidate entries when entries in the backing data structure are changed. |
MaxIdleSeconds | Gets or sets the maximum number of seconds an entry can stay in the cache untouched before being evicted. |
MaxSize | Gets or sets the maximum size of the cache (number of entries) before entries get evicted. |
TimeToLiveSeconds | Gets or sets the number of seconds entries stay in the cache before being evicted. |
Methods
Name | Description |
---|---|
ToString() | Returns a string that represents the current object. |