Click or drag to resize

IDistributedObjectGetPartitionKey Method

Returns the key of partition this IDistributedObject is assigned to.

Namespace:  Hazelcast.Core
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.11
Syntax
string GetPartitionKey()

Return Value

Type: String
the partition key.
Remarks
Returns the key of partition this IDistributedObject is assigned to. The returned value only has meaning for a non partitioned data-structure like an IAtomicLong. For a partitioned data-structure like an IMap the returned value will not be null, but otherwise undefined.
See Also