java.lang.Object
org.opendaylight.controller.cluster.raft.client.messages.Shutdown
All Implemented Interfaces:
Serializable, org.apache.pekko.dispatch.ControlMessage

public final class Shutdown extends Object implements Serializable, org.apache.pekko.dispatch.ControlMessage
Message sent to a raft actor to shutdown gracefully. If it's the leader it will transfer leadership to a follower. As its last act, the actor self-destructs via a PoisonPill. This message should only be used with Patterns.gracefulStop().
Author:
Thomas Pantelis
See Also:
  • Field Details

    • INSTANCE

      public static final Shutdown INSTANCE