|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.net.partition.SimpleAssignmentStrategy.SimpleLoadCalculator
public static class SimpleAssignmentStrategy.SimpleLoadCalculator
SimpleLoadCalculator defines a "count-based" load (e.g. the load of each partition is defined to be 1).
Constructor Summary | |
---|---|
SimpleAssignmentStrategy.SimpleLoadCalculator() |
Method Summary | |
---|---|
int |
getLoad(int nPartition) Return the load for the specified partition. |
int |
getLoad(PartitionSet parts) Return the load for the specified set of partitions. |
Constructor Detail |
---|
public SimpleAssignmentStrategy.SimpleLoadCalculator()
Method Detail |
---|
public int getLoad(int nPartition)
getLoad
in interface SimpleAssignmentStrategy.LoadCalculator
nPartition
- the partition to determine the load forpublic int getLoad(PartitionSet parts)
getLoad
in interface SimpleAssignmentStrategy.LoadCalculator
parts
- the partition set to determine the load for
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |