/[projects]/miscJava/CircuitBreaker/src/main/java/dk/thoerup/circuitbreaker/jmx/JmxAccountingCircuitBreakerMBean.java |
Parent Directory | Revision Log
AccountingCircuitBreaker, should also keep track on when it last was tripped
1 | torben | 402 | package dk.thoerup.curcuitbreaker.jmx; |
2 | |||
3 | torben | 403 | public interface JmxAccountingCircuitBreakerMBean extends JmxCircuitBreakerMBean{ |
4 | torben | 402 | |
5 | |||
6 | public int getTripCount(); | ||
7 | |||
8 | public int getBlockCount(); | ||
9 | |||
10 | torben | 403 | public int getTotalFailureCount(); |
11 | torben | 402 | |
12 | torben | 403 | public int getTotalCallCount(); |
13 | |||
14 | torben | 460 | public long getLastTrip(); |
15 | |||
16 | torben | 404 | public long getLastResetCounters(); |
17 | torben | 402 | |
18 | public void resetCounters(); | ||
19 | |||
20 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |