Class 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:
    Serialized Form
    • Field Detail

      • INSTANCE

        public static final Shutdown INSTANCE