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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RoleChangeNotification(String memberId, String oldRole, String newRole)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMemberId()
String
getNewRole()
String
getOldRole()
-