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

public final class Shutdown extends Object implements Serializable, 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