.NET Client Documentation
5.5.0
Search Results for

    Show / Hide Table of Contents

    NearCacheOptions Class

    Namespace: Hazelcast.NearCaching
    Assembly: Hazelcast.Net.dll
    public class NearCacheOptions : IIdentifiedDataSerializable, INamedOptions
    Inheritance
    object
    NearCacheOptions
    Implements
    IIdentifiedDataSerializable
    INamedOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)

    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.

    In this article
    Back to top Copyright © 2010-2024 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.