@ManagedResource(description="Managed ThrottlingExceptionRoutePolicy") public class ManagedThrottlingExceptionRoutePolicy extends ManagedService implements ManagedThrottlingExceptionRoutePolicyMBean
Constructor and Description |
---|
ManagedThrottlingExceptionRoutePolicy(CamelContext context,
ThrottlingExceptionRoutePolicy policy) |
Modifier and Type | Method and Description |
---|---|
String |
currentState() |
Integer |
getCurrentFailures() |
Integer |
getFailureThreshold() |
Long |
getFailureWindow() |
Long |
getHalfOpenAfter() |
String |
getHalfOpenHandlerName() |
Long |
getLastFailure() |
Long |
getOpenAt() |
ThrottlingExceptionRoutePolicy |
getPolicy() |
void |
setFailureThreshold(Integer numberOfFailures) |
void |
setFailureWindow(Long milliseconds) |
void |
setHalfOpenAfter(Long milliseconds) |
getCamelId, getCamelManagementName, getContext, getInstance, getRoute, getRouteId, getService, getServiceType, getState, init, isStaticService, isSupportSuspension, isSuspended, resume, setRoute, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCamelId, getCamelManagementName, getRouteId, getServiceType, getState, isStaticService, isSupportSuspension, isSuspended, resume, start, stop, suspend
public ManagedThrottlingExceptionRoutePolicy(CamelContext context, ThrottlingExceptionRoutePolicy policy)
public ThrottlingExceptionRoutePolicy getPolicy()
public Long getHalfOpenAfter()
getHalfOpenAfter
in interface ManagedThrottlingExceptionRoutePolicyMBean
public void setHalfOpenAfter(Long milliseconds)
setHalfOpenAfter
in interface ManagedThrottlingExceptionRoutePolicyMBean
public Long getFailureWindow()
getFailureWindow
in interface ManagedThrottlingExceptionRoutePolicyMBean
public void setFailureWindow(Long milliseconds)
setFailureWindow
in interface ManagedThrottlingExceptionRoutePolicyMBean
public Integer getFailureThreshold()
getFailureThreshold
in interface ManagedThrottlingExceptionRoutePolicyMBean
public void setFailureThreshold(Integer numberOfFailures)
setFailureThreshold
in interface ManagedThrottlingExceptionRoutePolicyMBean
public String currentState()
currentState
in interface ManagedThrottlingExceptionRoutePolicyMBean
public String getHalfOpenHandlerName()
getHalfOpenHandlerName
in interface ManagedThrottlingExceptionRoutePolicyMBean
public Integer getCurrentFailures()
getCurrentFailures
in interface ManagedThrottlingExceptionRoutePolicyMBean
public Long getLastFailure()
getLastFailure
in interface ManagedThrottlingExceptionRoutePolicyMBean
public Long getOpenAt()
getOpenAt
in interface ManagedThrottlingExceptionRoutePolicyMBean
Apache Camel