BUG 2463 - Changing setting for shard-snapshot-data-threshold-percentage does not...
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / jmx / mbeans / shard / ShardStatsMXBean.java
1 package org.opendaylight.controller.cluster.datastore.jmx.mbeans.shard;
2
3 import java.util.List;
4
5 import org.opendaylight.controller.md.sal.common.util.jmx.ThreadExecutorStats;
6 import org.opendaylight.yangtools.util.concurrent.ListenerNotificationQueueStats;
7
8 /**
9  * @author: syedbahm
10  */
11 public interface ShardStatsMXBean {
12
13    String getShardName();
14
15    long getCommittedTransactionsCount();
16
17    long getReadOnlyTransactionCount();
18
19    long getWriteOnlyTransactionCount();
20
21    long getReadWriteTransactionCount();
22
23    long getLastLogIndex();
24
25    long getLastLogTerm();
26
27    long getCurrentTerm();
28
29    long getCommitIndex();
30
31    long getLastApplied();
32
33    String getLastCommittedTransactionTime();
34
35    long getFailedTransactionsCount();
36
37    long getAbortTransactionsCount();
38
39    long getFailedReadTransactionsCount();
40
41    String getLeader();
42
43    String getRaftState();
44
45    ThreadExecutorStats getDataStoreExecutorStats();
46
47    ThreadExecutorStats getNotificationMgrExecutorStats();
48
49    List<ListenerNotificationQueueStats> getCurrentNotificationMgrListenerQueueStats();
50
51    int getMaxNotificationMgrListenerQueueSize();
52
53    void resetTransactionCounters();
54
55    long getInMemoryJournalDataSize();
56 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.