1 |
package dk.thoerup.circuitbreaker.jmx; |
2 |
|
3 |
public interface JmxAccountingCircuitBreakerMBean extends JmxCircuitBreakerMBean{ |
4 |
|
5 |
|
6 |
public int getTripCount(); |
7 |
|
8 |
public int getRetripCount(); |
9 |
|
10 |
public int getBlockCount(); |
11 |
|
12 |
public int getTotalFailureCount(); |
13 |
|
14 |
public int getTotalCallCount(); |
15 |
|
16 |
public long getLastTrip(); |
17 |
|
18 |
public long getLastRetrip(); |
19 |
|
20 |
public long getLastFailure(); |
21 |
|
22 |
public long getLastReset(); |
23 |
|
24 |
public long getLastResetCounters(); |
25 |
|
26 |
public void resetCounters(); |
27 |
|
28 |
} |