Interface AvailabilityStrategy

All Known Implementing Classes:
PreferAvailabilityStrategy, PreferConsistencyStrategy

public interface AvailabilityStrategy
Implementations decide what to do when the cache membership changes, either because new nodes joined, nodes left, or there was a merge. The decision is then applied by calling one of the AvailabilityStrategyContext methods. The strategy can also queue actions until the current rebalance ends, and execute them on onRebalanceEnd(AvailabilityStrategyContext). Method invocations are synchronized, so it's not possible to have concurrent invocations.
Mircea Markus, Dan Berindei