T - key typepublic interface PartitionAware<T>
getPartitionKey()'s owner member.
 
 This achieves data affinity. Data or execution occurs on the same partition.
 
 In Hazelcast, disparate data structures will be stored on the same partition, simply
 based on partition key. So for example if "Steve" was used, then the following would be on one partition:
 IExecutorService which needed to deal with a customer and a customer's
 orders, optimal performance will be achieved by putting them on the same partition.
 
 DistributedObject also has a notion of partition key which is of type String. So
 to ensure the same partition as distributed Objects Strings should be used for the partition key.
 DistributedObject| Modifier and Type | Method and Description | 
|---|---|
T | 
getPartitionKey()
The key that will be used by Hazelcast to specify the partition. 
 | 
T getPartitionKey()
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.