|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- key typepublic interface PartitionAware<T>
PartitionAware means that data will be based in the same member based on the partition key
and implementing tasks will be executed on the getPartitionKey()
's owner member.
IExecutorService
which needs to deal with a customer and a customer's
orders, you can achieve optimal performance by putting them on the same partition.
DistributedObject
also has a notion of the partition key which is of type String
to ensure that the same partition as distributed Objects Strings is used for the partition key.
DistributedObject
Method Summary | |
---|---|
T |
getPartitionKey()
The key that will be used by Hazelcast to specify the partition. |
Method Detail |
---|
T getPartitionKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |