|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| 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.LoadCalculatornPartition - the partition to determine the load forpublic int getLoad(PartitionSet parts)
getLoad in interface SimpleAssignmentStrategy.LoadCalculatorparts - the partition set to determine the load for
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||