|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-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.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_cFairShareThe cached fair-share load. |
protected boolean |
m_fPrimaryTrue 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 load| Method Detail |
|---|
public boolean isPrimary()
public int getFairShare()
public boolean evaluate(java.lang.Object o)
evaluate in interface Filtero - the object to test
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||