/[projects]/miscJava/CircuitBreaker/src/main/java/dk/thoerup/circuitbreaker/jmx/JmxCircuitBreakerMBean.java
ViewVC logotype

Annotation of /miscJava/CircuitBreaker/src/main/java/dk/thoerup/circuitbreaker/jmx/JmxCircuitBreakerMBean.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 413 - (hide annotations) (download)
Wed Oct 7 17:56:13 2009 UTC (14 years, 8 months ago) by torben
Original Path: CircuitBreaker/src/dk/thoerup/curcuitbreaker/jmx/JmxCircuitBreakerMBean.java
File size: 409 byte(s)
No reason for exposing elapsed time if you don't also have the timeout for comparison.
1 torben 402 package dk.thoerup.curcuitbreaker.jmx;
2    
3     public interface JmxCircuitBreakerMBean {
4     public String getName();
5    
6     public String getStateName();
7    
8 torben 403 public int getThreshold();
9    
10 torben 413 public int getTimeout();
11    
12 torben 403 public int getFailureCount();
13    
14     public long getElapsed();
15    
16 torben 409 public String getNotifierName();
17    
18 torben 402 public void reset();
19    
20     public void tripBreaker();
21    
22     }

  ViewVC Help
Powered by ViewVC 1.1.20