Parent Directory | Revision Log
Added basic JMX interface
1 | torben | 402 | package dk.thoerup.curcuitbreaker.jmx; |
2 | |||
3 | public interface JmxAccountingCircuitBreakerMBean { | ||
4 | |||
5 | //default section | ||
6 | |||
7 | public String getName(); | ||
8 | |||
9 | public String getStateName(); | ||
10 | |||
11 | public void reset(); | ||
12 | |||
13 | public void tripBreaker(); | ||
14 | |||
15 | //Accounting section | ||
16 | |||
17 | public int getTripCount(); | ||
18 | |||
19 | public int getBlockCount(); | ||
20 | |||
21 | public int getFailureCount(); | ||
22 | |||
23 | public long getLastReset(); | ||
24 | |||
25 | public void resetCounters(); | ||
26 | |||
27 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |