Package com.tangosol.net.partition
Class SimpleAssignmentStrategy.AnalysisContext.UnderloadedFilter
- java.lang.Object
-
- com.tangosol.net.partition.SimpleAssignmentStrategy.AnalysisContext.UnderloadedFilter
-
- All Implemented Interfaces:
Filter,Serializable
- Enclosing class:
- SimpleAssignmentStrategy.AnalysisContext
public class SimpleAssignmentStrategy.AnalysisContext.UnderloadedFilter extends Object implements Filter
UnderloadedFilter is a Filter implementation that is used to evaluate Member objects, and selects those whose partition load is "underloaded" in comparison to the fair-share load.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected intm_cFairShareThe cached fair-share load.protected booleanm_fPrimaryTrue iff this filter represents primary partition load.
-
Constructor Summary
Constructors Modifier Constructor Description protectedUnderloadedFilter(boolean fPrimary)Construct an UnderloadedFilter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanevaluate(Object o)Apply the test to the input argument.intgetFairShare()Return the fair-share partition load.booleanisPrimary()Return true iff this Filter compares the primary partition load.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.tangosol.util.Filter
and, asLimitFilter, associatedWith, forKeys, forPartitions, or, toExpression, xor
-
-