Interface RetryClusterService

  • All Known Implementing Classes:
    DefaultRetryClusterService

    public interface RetryClusterService
    Used to keep track of start/stop behavior that determines node leadership in a cluster. This service is specifically responsible for setting up RetryHandler instances for any qualified NotificationStateRepository detected.
    Author:
    Jeff Fischer
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isStarted()
      Whether a node on the cluster has already been started as a leader.
      void start()
      Start the node as a leader in the cluster.
      void stop()
      Stop the node as a leader in the cluster.
    • Method Detail

      • start

        void start()
        Start the node as a leader in the cluster.
      • isStarted

        boolean isStarted()
        Whether a node on the cluster has already been started as a leader.
        Returns:
        Whether a node on the cluster has already been started as a leader.
      • stop

        void stop()
        Stop the node as a leader in the cluster.