Class FollowerInfo


  • public class FollowerInfo
    extends Object
    A bean class containing a snapshot of information for a follower returned from GetOnDemandRaftStats.
    Author:
    Thomas Pantelis
    • Constructor Detail

      • FollowerInfo

        @ConstructorProperties({"id","nextIndex","matchIndex","active","timeSinceLastActivity","voting"})
        public FollowerInfo​(String id,
                            long nextIndex,
                            long matchIndex,
                            boolean active,
                            String timeSinceLastActivity,
                            boolean voting)
    • Method Detail

      • getId

        public String getId()
      • getNextIndex

        public long getNextIndex()
      • getMatchIndex

        public long getMatchIndex()
      • isActive

        public boolean isActive()
      • getTimeSinceLastActivity

        public String getTimeSinceLastActivity()
      • isVoting

        public boolean isVoting()