* @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();
}