1 |
package dk.thoerup.curcuitbreaker.jmx; |
package dk.thoerup.circuitbreaker.jmx; |
2 |
|
|
3 |
public interface JmxCircuitBreakerMBean { |
public interface JmxCircuitBreakerMBean { |
4 |
public String getName(); |
public String getName(); |
5 |
|
|
6 |
public String getStateName(); |
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(); |
public void reset(); |
19 |
|
|
20 |
public void tripBreaker(); |
public void tripBreaker(); |