Class RoleChangeNotification

java.lang.Object
org.opendaylight.controller.cluster.notifications.RoleChangeNotification
All Implemented Interfaces:
Serializable

public class RoleChangeNotification extends Object implements Serializable
Notification message representing a Role change of a cluster member. Roles generally are Leader, Follower and Candidate. But can be based on the consensus strategy/implementation. The Listener could be in a separate ActorSystem and hence this message needs to be Serializable.
See Also:
  • Constructor Details

    • RoleChangeNotification

      public RoleChangeNotification(String memberId, String oldRole, String newRole)
  • Method Details

    • getMemberId

      public String getMemberId()
    • getOldRole

      public String getOldRole()
    • getNewRole

      public String getNewRole()