Class FollowerInfo

java.lang.Object
org.opendaylight.controller.cluster.mgmt.api.FollowerInfo

@NonNullByDefault public final class FollowerInfo extends Object
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

      public String getId()
    • getNextIndex

      public long getNextIndex()
    • getMatchIndex

      public long getMatchIndex()
    • isActive

      public boolean isActive()
    • getTimeSinceLastActivity

      public String getTimeSinceLastActivity()
    • isVoting

      public boolean isVoting()