Expose more information about a Shard via JMX
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / jmx / mbeans / shard / ShardStatsMBean.java
index 9ebcc7fa5a966c75b3c46b4271af9864f5bf5b90..d5530653fd400d69850af60bf5b6923f35dbc79f 100644 (file)
@@ -4,9 +4,27 @@ 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();
 }