|
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 KeyPartitioningStrategy
A KeyPartitioningStrategy is a pluggable strategy for assigning keys to specific partitions.
Method Summary | |
---|---|
int |
getKeyPartition(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(Object oKey)
PartitionedService.getPartitionCount()
.
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 |