|
Oracle® Coherence Java API Reference v3.5 E14977-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PartitionedService
A PartitionedService is aware of a mapping of keys to partitions and of partitions to cluster members.
Method Summary | |
---|---|
int |
getBackupCount() Determine the configured redundancy count that this service has been configured to maintain. |
KeyAssociator |
getKeyAssociator() Determine the key associatior that this service has been configured to use. |
Member |
getKeyOwner(java.lang.Object oKey) Determine the primary owner of the specified key, as determined by the combination of the KeyPartitioningStrategy and the PartitionAssignmentStrategy. |
KeyPartitioningStrategy |
getKeyPartitioningStrategy() Determine the strategy for key partitioning that this service has been configured to use. |
PartitionSet |
getOwnedPartitions(Member member) Determine the PartitionSet that is currently owned by a cluster Member. |
PartitionAssignmentStrategy |
getPartitionAssignmentStrategy() Determine the strategy for assigning partitions to cluster members that this service has been configured to use. |
int |
getPartitionCount() Determine the number of partitions that the service has been configured to "break up" the conceptual "key set" into. |
Methods inherited from interface com.tangosol.net.Service |
---|
addMemberListener, getCluster, getInfo, getSerializer, getUserContext, removeMemberListener, setUserContext |
Methods inherited from interface com.tangosol.util.Service |
---|
addServiceListener, removeServiceListener |
Methods inherited from interface com.tangosol.util.Controllable |
---|
configure, isRunning, shutdown, start, stop |
Methods inherited from interface com.tangosol.io.ClassLoaderAware |
---|
getContextClassLoader, setContextClassLoader |
Method Detail |
---|
int getPartitionCount()
int getBackupCount()
KeyAssociator getKeyAssociator()
KeyPartitioningStrategy getKeyPartitioningStrategy()
PartitionAssignmentStrategy getPartitionAssignmentStrategy()
Member getKeyOwner(java.lang.Object oKey)
oKey
- a key in its Object formPartitionAssignmentStrategy.getPartitionOwner(int)
PartitionSet getOwnedPartitions(Member member)
member
- the cluster Member
|
Oracle® Coherence Java API Reference v3.5 E14977-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |