package org.opendaylight.controller.cluster.datastore.jmx.mbeans.shard;
import java.util.List;
-
-import org.opendaylight.controller.md.sal.common.util.jmx.ThreadExecutorStats;
-import org.opendaylight.yangtools.util.concurrent.ListenerNotificationQueueStats;
+import org.opendaylight.controller.cluster.raft.client.messages.FollowerInfo;
/**
* @author: syedbahm
String getShardName();
+ String getStatRetrievalTime();
+
+ String getStatRetrievalError();
+
long getCommittedTransactionsCount();
long getReadOnlyTransactionCount();
long getLastApplied();
+ long getLastIndex();
+
+ long getLastTerm();
+
+ long getSnapshotIndex();
+
+ long getSnapshotTerm();
+
+ long getReplicatedToAllIndex();
+
String getLastCommittedTransactionTime();
long getFailedTransactionsCount();
String getRaftState();
- ThreadExecutorStats getDataStoreExecutorStats();
+ String getVotedFor();
+
+ boolean isSnapshotCaptureInitiated();
- ThreadExecutorStats getNotificationMgrExecutorStats();
+ void resetTransactionCounters();
- List<ListenerNotificationQueueStats> getCurrentNotificationMgrListenerQueueStats();
+ long getInMemoryJournalDataSize();
- int getMaxNotificationMgrListenerQueueSize();
+ long getInMemoryJournalLogSize();
- void resetTransactionCounters();
+ boolean getFollowerInitialSyncStatus();
+
+ List<FollowerInfo> getFollowerInfo();
+
+ String getPeerAddresses();
+
+ long getLeadershipChangeCount();
- long getDataSize();
+ String getLastLeadershipChangeTime();
}