/[projects]/CircuitBreaker/src/dk/thoerup/curcuitbreaker/jmx/JmxCircuitBreakerMBean.java
ViewVC logotype

Contents of /CircuitBreaker/src/dk/thoerup/curcuitbreaker/jmx/JmxCircuitBreakerMBean.java

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.20