|
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 KeyPartitioningStrategy
A KeyPartitioningStrategy is a pluggable strategy for assigning keys to specific partitions.
| Method Summary | |
|---|---|
int |
getKeyPartition(java.lang.Object oKey)Determine the partition to which a particular key should be assigned. |
void |
init(PartitionedService service)Initialize the KeyPartitioningStrategy and bind it to a PartitionedService. |
| Method Detail |
|---|
void init(PartitionedService service)
service - the PartitionedService that this strategy is being bound toint getKeyPartition(java.lang.Object oKey)
PartitionedService.getPartitionCount().oKey - a key in its Object formPartitionAssignmentStrategy.getPartitionOwner(int)
|
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 | |||||||