Interface SplitBrainProtectionListener

All Superinterfaces:
EventListener
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface SplitBrainProtectionListener
extends EventListener
Listener to get notified when a split brain protection state is changed
  • Method Summary

    Modifier and Type Method Description
    void onChange​(SplitBrainProtectionEvent splitBrainProtectionEvent)
    Called when the state of the split brain detector is changed.
  • Method Details

    • onChange

      void onChange​(SplitBrainProtectionEvent splitBrainProtectionEvent)
      Called when the state of the split brain detector is changed.
      Parameters:
      splitBrainProtectionEvent - provides information about split brain protection presence and current member list.