/[projects]/CircuitBreaker/src/dk/thoerup/circuitbreaker/jmx/JmxAccountingCircuitBreakerMBean.java
ViewVC logotype

Annotation of /CircuitBreaker/src/dk/thoerup/circuitbreaker/jmx/JmxAccountingCircuitBreakerMBean.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 621 - (hide annotations) (download)
Mon Mar 8 08:38:36 2010 UTC (14 years, 3 months ago) by torben
File size: 402 byte(s)
Also take not of the time when the last failure occurred 
1 torben 467 package dk.thoerup.circuitbreaker.jmx;
2 torben 402
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 621 public long getLastFailure();
17    
18 torben 404 public long getLastResetCounters();
19 torben 402
20     public void resetCounters();
21    
22     }

  ViewVC Help
Powered by ViewVC 1.1.20