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 Detail

      • tooManyFailures

        boolean tooManyFailures​(int nodeIndex)
      • addFailure

        void addFailure​(Integer calculatedDistributor)