NearCachePreloaderOptions Class
Namespace: Hazelcast.NearCaching
Assembly: Hazelcast.Net.dll
Configuration for storing and preloading Near Cache keys.
Preloader re-populates Near Cache after client/server restart to provide fast access.
public class NearCachePreloaderOptions : IIdentifiedDataSerializable
Implements
Inherited Members
Constructors
| Name | Description |
|---|---|
| NearCachePreloaderOptions() | Initializes a new instance of the NearCachePreloaderOptions. |
| NearCachePreloaderOptions(NearCachePreloaderOptions) | Initializes a new instance of the NearCachePreloaderOptions. |
| NearCachePreloaderOptions(bool, string) | Initializes a new instance of the NearCachePreloaderOptions. |
| NearCachePreloaderOptions(string) | Initializes a new instance of the NearCachePreloaderOptions. |
Properties
| Name | Description |
|---|---|
| ClassId | Gets the identifier of the class. |
| Directory | Directory where keys are stored. |
| Enabled | Either preloader is enabled or not. |
| FactoryId | Gets the identifier of the IDataSerializableFactory that can create instances of the class. |
| StoreInitialDelaySeconds | Initial delay for the Near Cache key storage (in seconds). |
| StoreIntervalSeconds | Interval for the Near Cache key storage (in seconds). |
Methods
| Name | Description |
|---|---|
| ReadData(IObjectDataInput) | Deserializes the object by reading from an IObjectDataInput. |
| SetDirectory(string) | Sets directory where keys are stored. |
| SetIsEnabled(bool) | Enables or disables preloader. |
| SetStoreInitialDelaySeconds(int) | Sets initial delay for the Near Cache key storage (in seconds). |
| SetStoreIntervalSeconds(int) | Sets interval for the Near Cache key storage (in seconds). |
| ToString() | Returns a string that represents the current object. |
| WriteData(IObjectDataOutput) | Serializes the object by writing to an IObjectDataOutput. |