|
Oracle® Coherence Java API Reference Release 3.6.1.0 E18814-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.
| Nested Class Summary | |
|---|---|
static interface |
PartitionedService.PartitionedActionPartitionedAction represents a type of action taken by a PartitionedService. |
| 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. |
java.util.Set |
getOwnershipEnabledMembers()Return a Set of Member objects, one for each Member that has registered this PartitionedService and is partition ownership-enabled. |
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 Memberjava.util.Set getOwnershipEnabledMembers()
|
Oracle® Coherence Java API Reference Release 3.6.1.0 E18814-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||