Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


com.tangosol.net.partition
Interface SimpleAssignmentStrategy.LoadCalculator

All Known Implementing Classes:
SimpleAssignmentStrategy.SimpleLoadCalculator
Enclosing class:
SimpleAssignmentStrategy

public static interface SimpleAssignmentStrategy.LoadCalculator

LoadCalculator is used to calculate the scalar load (expressed as an integer) of a partition (or set of partitions).


Method Summary
 int getLoad(int iPartition)
          Return the load for the specified partition.
 int getLoad(PartitionSet parts)
          Return the load for the specified set of partitions.

 

Method Detail

getLoad

int getLoad(int iPartition)
Return the load for the specified partition.
Parameters:
iPartition - the partition to determine the load for
Returns:
the load for the specified partition

getLoad

int getLoad(PartitionSet parts)
Return the load for the specified set of partitions.
Parameters:
parts - the partition set to determine the load for
Returns:
the load for the specified set of partitions

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.