|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PartitionAssignmentStrategy
A PartitionAssignmentStrategy is a pluggable strategy for assigning partition primary and backup ownership to cluster members.
Method Summary | |
---|---|
Member |
getBackupOwner(int nPartition, int nBackup) Determine the backup owner of the specified partition. |
Member |
getPartitionOwner(int nPartition) Determine the primary owner of the specified partition. |
Method Detail |
---|
Member getPartitionOwner(int nPartition)
nPartition
- a partition IDIllegalArgumentException
- if the partition number is negative or greater than the partition count
for this partitioned serviceMember getBackupOwner(int nPartition, int nBackup)
nPartition
- a partition IDnBackup
- the backup number (one-based)IllegalArgumentException
- if the partition number is negative or greater than the partition count
or if the backup number is non-positive or greater than the backup count
for this partitioned service
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |