Class RoleChangeNotifier

  • All Implemented Interfaces:
    Actor, AutoCloseable, ExecuteInSelfActor

    public class RoleChangeNotifier
    extends AbstractUntypedActor
    implements AutoCloseable
    The RoleChangeNotifier is responsible for receiving Raft role and leader state change messages and notifying the listeners (within the same node), which are registered with it.

    The RoleChangeNotifier is instantiated by the Shard and injected into the RaftActor.