|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
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(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. |
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, getUserContext, removeMemberListener, setUserContext |
Methods inherited from interface com.tangosol.util.Controllable |
---|
configure, getContextClassLoader, isRunning, setContextClassLoader, shutdown, start, stop |
Method Detail |
---|
int getPartitionCount()
int getBackupCount()
KeyAssociator getKeyAssociator()
KeyPartitioningStrategy getKeyPartitioningStrategy()
PartitionAssignmentStrategy getPartitionAssignmentStrategy()
Member getKeyOwner(Object oKey)
oKey
- a key in its Object form
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |