GetReplicatedMapAsync Method
GetReplicatedMapAsync<TKey, TValue>(String)
Gets an IHReplicatedMap<TKey, TValue> distributed object.
Declaration
Task<IHReplicatedMap<TKey, TValue>> GetReplicatedMapAsync<TKey, TValue>(string name)
Parameters
String | name | The unique name of the map. |
Returns
Task<IHReplicatedMap<TKey, TValue>> | The map that was retrieved or created. |
Type Parameters
TKey | The type of the keys. |
TValue | The type of the values. |
Remarks
If an object with the specified name
does not
exist already in the cluster, a new object is created.