Interface ClusterEventListener

  • All Superinterfaces:
    AutoCloseable, Closeable
    All Known Implementing Classes:

    public interface ClusterEventListener
    extends Closeable
    Components that want to be notified of cluster-wide events should use this.

    XXX should this work only for ClusterSingleton-s? some types of events may be XXX difficult (or pointless) to propagate to every node.

    • Method Detail

      • onEvent

        void onEvent​(ClusterEvent event)
        Handle the event. Implementations should be non-blocking - if any long processing is needed it should be performed asynchronously.
        event - cluster event