Class FollowerInfo
java.lang.Object
org.opendaylight.controller.cluster.mgmt.api.FollowerInfo
A bean class containing a snapshot of information for a follower returned from GetOnDemandRaftStats.
- Author:
- Thomas Pantelis
-
Constructor Details
-
FollowerInfo
@ConstructorParameters({"id","nextIndex","matchIndex","active","timeSinceLastActivity","voting"}) public FollowerInfo(String id, long nextIndex, long matchIndex, boolean active, String timeSinceLastActivity, boolean voting)
-
-
Method Details
-
getId
-
getNextIndex
public long getNextIndex() -
getMatchIndex
public long getMatchIndex() -
isActive
public boolean isActive() -
getTimeSinceLastActivity
-
isVoting
public boolean isVoting()
-