Class RoleChangeNotification
java.lang.Object
org.opendaylight.controller.cluster.notifications.RoleChangeNotification
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
RoleChangeNotification
-
-
Method Details
-
getMemberId
-
getOldRole
-
getNewRole
-