.NET Client Documentation
5.1.1
Search Results for

    Show / Hide Table of Contents

    IHReplicatedMap<TKey, TValue> Interface

    Namespace: Hazelcast.DistributedObjects
    Assembly: Hazelcast.Net.dll

    Represents a distributed map with weak consistency and values locally stored on every node of the cluster.

    public interface IHReplicatedMap<TKey, TValue> : IHMapBase<TKey, TValue>, IDistributedObject, IAsyncDisposable, IAsyncEnumerable<KeyValuePair<TKey, TValue>>
    Inherited Members
    IHMapBase<TKey, TValue>.GetAsync(TKey)
    IHMapBase<TKey, TValue>.GetKeysAsync()
    IHMapBase<TKey, TValue>.GetValuesAsync()
    IHMapBase<TKey, TValue>.GetEntriesAsync()
    IHMapBase<TKey, TValue>.GetSizeAsync()
    IHMapBase<TKey, TValue>.IsEmptyAsync()
    IHMapBase<TKey, TValue>.ContainsKeyAsync(TKey)
    IHMapBase<TKey, TValue>.ContainsValueAsync(TValue)
    IHMapBase<TKey, TValue>.PutAsync(TKey, TValue)
    IHMapBase<TKey, TValue>.PutAsync(TKey, TValue, TimeSpan)
    IHMapBase<TKey, TValue>.SetAllAsync(IDictionary<TKey, TValue>)
    IHMapBase<TKey, TValue>.ClearAsync()
    IHMapBase<TKey, TValue>.RemoveAsync(TKey)
    IDistributedObject.ServiceName
    IDistributedObject.Name
    IDistributedObject.PartitionKey
    IDistributedObject.DestroyAsync()
    IAsyncDisposable.DisposeAsync()
    IAsyncEnumerable<KeyValuePair<TKey, TValue>>.GetAsyncEnumerator(CancellationToken)
    Type Parameters
    TKey

    the type of keys maintained by this map

    TValue

    the type of mapped values

    Remarks

    Whenever a value is written asynchronously, the new value will be internally distributed to all existing cluster members, and eventually every node will have the new value.

    When a new node joins the cluster, the new node initially will request existing values from older nodes and replicate them locally.

    Methods

    SubscribeAsync(Action<ReplicatedMapEventHandlers<TKey, TValue>>, TKey, IPredicate, Object)

    Subscribes to events.

    SubscribeAsync(Action<ReplicatedMapEventHandlers<TKey, TValue>>, TKey, Object)

    Subscribes to events.

    SubscribeAsync(Action<ReplicatedMapEventHandlers<TKey, TValue>>, IPredicate, Object)

    Subscribes to events.

    SubscribeAsync(Action<ReplicatedMapEventHandlers<TKey, TValue>>, Object)

    Subscribes to events.

    UnsubscribeAsync(Guid)

    Unsubscribe from events.

    In This Article
    Back to top Copyright © 2010-2022 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.