Interface ContentPolicy.InstabilityChecker
-
- All Known Implementing Classes:
ContentPolicy.PerNodeCountingInstabilityChecker
- Enclosing class:
- ContentPolicy
public static interface ContentPolicy.InstabilityChecker
Tracks "instability" across nodes based on number of failures received versus some implementation-specific limit. Implementations must be thread-safe. TODO should ideally be protected, but there's a package mismatch between policy classes and its tests
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addFailure(Integer calculatedDistributor)
boolean
tooManyFailures(int nodeIndex)
-
-
-
Method Detail
-
tooManyFailures
boolean tooManyFailures(int nodeIndex)
-
addFailure
void addFailure(Integer calculatedDistributor)
-
-