Merge "Bug-1338: Create a grouping for order to help create generic OrderComparator...
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / jmx / mbeans / shard / ShardStatsMBean.java
index 9ebcc7fa5a966c75b3c46b4271af9864f5bf5b90..b8b220ee82fae3851e1f8bcc70a04f74b1c31560 100644 (file)
@@ -4,9 +4,32 @@ package org.opendaylight.controller.cluster.datastore.jmx.mbeans.shard;
  * @author: syedbahm
  */
 public interface ShardStatsMBean {
-   String getShardName();
-   Long getCommittedTransactionsCount();
-   Long getJournalMessagesCount();
-   String getLeader();
-   String getRaftState();
+    String getShardName();
+
+    Long getCommittedTransactionsCount();
+
+    String getLeader();
+
+    String getRaftState();
+
+    Long getReadOnlyTransactionCount();
+
+    Long getWriteOnlyTransactionCount();
+
+    Long getReadWriteTransactionCount();
+
+    Long getLastLogIndex();
+
+    Long getLastLogTerm();
+
+    Long getCurrentTerm();
+
+    Long getCommitIndex();
+
+    Long getLastApplied();
+
+    String getLastCommittedTransactionTime();
+
+    Long getFailedTransactionsCount();
+
 }