|
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.AnalysisContext.UnderloadedFilter
public class SimpleAssignmentStrategy.AnalysisContext.UnderloadedFilter
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.
Field Summary | |
---|---|
protected int |
m_cFairShare The cached fair-share load. |
protected boolean |
m_fPrimary True iff this filter represents primary partition load. |
Constructor Summary | |
---|---|
protected |
SimpleAssignmentStrategy.AnalysisContext.UnderloadedFilter(boolean fPrimary) Construct an UnderloadedFilter. |
Method Summary | |
---|---|
boolean |
evaluate(java.lang.Object o) Apply the test to the object. |
int |
getFairShare() Return the fair-share partition load. |
boolean |
isPrimary() Return true iff this Filter compares the primary partition load. |
Field Detail |
---|
protected int m_cFairShare
protected boolean m_fPrimary
Constructor Detail |
---|
protected SimpleAssignmentStrategy.AnalysisContext.UnderloadedFilter(boolean fPrimary)
fPrimary
- true iff the filter should compare primary partition loadMethod Detail |
---|
public boolean isPrimary()
public int getFairShare()
public boolean evaluate(java.lang.Object o)
evaluate
in interface Filter
o
- the object to test
|
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 |