com.hazelcast.core
Interface Partition


public interface Partition

Virtual partition instance. Each partition belongs to a member and this ownership may change when a member joins to or leaves the cluster.


Method Summary
 Member getOwner()
          Returns owner member of the partition.
 int getPartitionId()
          Returns id of the partition.
 

Method Detail

getPartitionId

int getPartitionId()
Returns id of the partition.

Returns:
id of the partition

getOwner

Member getOwner()
Returns owner member of the partition. It can be that null is returned if the owner of a partition has not been established.

Returns:
owner member of the partition


Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.