IReplicatedMapTKey, TValue Interface |
Namespace: Hazelcast.Core
The IReplicatedMapTKey, TValue type exposes the following members.
Name | Description | |
---|---|---|
AddEntryListener(IEntryListenerTKey, TValue) |
Adds an entry listener for this map.
| |
AddEntryListener(IEntryListenerTKey, TValue, IPredicate) | Adds an continuous entry listener for this map. | |
AddEntryListener(IEntryListenerTKey, TValue, TKey) | Adds the specified entry listener for the specified key. | |
AddEntryListener(IEntryListenerTKey, TValue, IPredicate, TKey) | Adds an continuous entry listener for this map. | |
Clear |
The clear operation wipes data out of the replicated maps.
| |
ContainsKey |
Determines whether this map contains an entry for the specified key.
| |
ContainsValue |
Determines whether this map contains one or more keys to the specified value
| |
Destroy | Destroys this object cluster-wide. (Inherited from IDistributedObject.) | |
EntrySet |
Returns a ISetT clone of the mappings contained in this map.
| |
Get |
Returns the value for the specified key, or null if this map does not contain this key.
| |
GetName | Returns the unique name for this IDistributedObject. (Inherited from IDistributedObject.) | |
GetPartitionKey | Returns the key of partition this IDistributedObject is assigned to. (Inherited from IDistributedObject.) | |
GetServiceName | Returns the service name for this object. (Inherited from IDistributedObject.) | |
IsEmpty | Returns true if this map contains no entries. | |
KeySet | Returns a set clone of the keys contained in this map. | |
Put(TKey, TValue) |
Associates the specified value with the specified key in this map
If the map previously contained a mapping for
the key, the old value is replaced by the specified value.
| |
Put(TKey, TValue, Int64, TimeUnit) |
Associates a given value to the specified key and replicates it to the
cluster. If there is an old value, it will be replaced by the specified
one and returned from the call.
| |
PutAll |
Copies all of the mappings from the specified map to this map
| |
Remove | Removes the mapping for a key from this map if it is present. | |
RemoveEntryListener |
Removes the specified entry listener.
| |
Size | Returns the number of entries in this map. | |
Values | Returns a collection clone of the values contained in this map. |
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.