NearCacheOptions Class
Namespace: Hazelcast.NearCaching
Assembly: Hazelcast.Net.dll
public class NearCacheOptions : IIdentifiedDataSerializable, INamedOptions
Inherited Members
Constructors
Name | Description |
---|---|
NearCacheOptions() | Initializes a new instance of the NearCacheOptions class. |
NearCacheOptions(NearCacheOptions) | Initializes a new instance of the NearCacheOptions class. |
NearCacheOptions(string) | Initializes a new instance of the NearCacheOptions class. |
Properties
Name | Description |
---|---|
CacheLocalEntries | Whether local entries are also cached in the near cache. |
ClassId | Gets the identifier of the class. |
Eviction | Gets or sets the eviction configuration. |
EvictionPolicy | Gets or sets the eviction policy. |
FactoryId | Gets the identifier of the IDataSerializableFactory that can create instances of the class. |
InMemoryFormat | Gets or sets the in-memory format. |
InvalidateOnChange | Whether cache entries are invalidated when the entries in the backing data structure are changed (updated or removed). |
LocalUpdatePolicy | Gets or sets the local update policy. |
MaxIdleSeconds | Gets or sets the maximum number of seconds each entry can stay in the Near Cache as untouched (not-read). |
MaxSize | Gets or sets the maximum size of the cache (number of entries) before entries get evicted. |
Name | Gets or sets the name of the cache. |
Preloader | Gets or sets the pre-loader configuration. |
SerializeKeys | Whether the key is stored in serialized format or by-reference. |
TimeToLiveSeconds | Gets or sets the maximum number of seconds for each entry to stay in the Near Cache (time to live). |
Methods
Name | Description |
---|---|
ReadData(IObjectDataInput) | Deserializes the object by reading from an IObjectDataInput. |
ToString() | Returns a string that represents the current object. |
WriteData(IObjectDataOutput) | Serializes the object by writing to an IObjectDataOutput. |