|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Partition
In Hazelcast the data is split up in partitions: by default, 271 and configurable through the 'hazelcast.partition.count' GroupProperty. Each partition is owned by one member and the ownership can change if members join or leave the cluster. Using this Partition object, you get access to who is the owner of a given partition. This object is not a DTO, so it will be updated when a member changes ownership.
Method Summary | |
---|---|
Member |
getOwner()
Returns the current member that owns this partition. |
int |
getPartitionId()
Returns the id of the partition. |
Method Detail |
---|
int getPartitionId()
Member getOwner()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |