1 package org.opendaylight.controller.cluster.datastore.jmx.mbeans.shard;
5 import org.opendaylight.controller.md.sal.common.util.jmx.ThreadExecutorStats;
6 import org.opendaylight.yangtools.util.concurrent.ListenerNotificationQueueStats;
11 public interface ShardStatsMXBean {
13 String getShardName();
15 long getCommittedTransactionsCount();
17 long getReadOnlyTransactionCount();
19 long getWriteOnlyTransactionCount();
21 long getReadWriteTransactionCount();
23 long getLastLogIndex();
25 long getLastLogTerm();
27 long getCurrentTerm();
29 long getCommitIndex();
31 long getLastApplied();
33 String getLastCommittedTransactionTime();
35 long getFailedTransactionsCount();
37 long getAbortTransactionsCount();
39 long getFailedReadTransactionsCount();
43 String getRaftState();
45 ThreadExecutorStats getDataStoreExecutorStats();
47 ThreadExecutorStats getNotificationMgrExecutorStats();
49 List<ListenerNotificationQueueStats> getCurrentNotificationMgrListenerQueueStats();
51 int getMaxNotificationMgrListenerQueueSize();
53 void resetTransactionCounters();