@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, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCamelId, getCamelManagementName, getRouteId, getServiceType, getState, isStaticService, isSupportSuspension, isSuspended, resume, start, stop, suspendpublic ManagedThrottlingExceptionRoutePolicy(CamelContext context, ThrottlingExceptionRoutePolicy policy)
public ThrottlingExceptionRoutePolicy getPolicy()
public Long getHalfOpenAfter()
getHalfOpenAfter in interface ManagedThrottlingExceptionRoutePolicyMBeanpublic void setHalfOpenAfter(Long milliseconds)
setHalfOpenAfter in interface ManagedThrottlingExceptionRoutePolicyMBeanpublic Long getFailureWindow()
getFailureWindow in interface ManagedThrottlingExceptionRoutePolicyMBeanpublic void setFailureWindow(Long milliseconds)
setFailureWindow in interface ManagedThrottlingExceptionRoutePolicyMBeanpublic Integer getFailureThreshold()
getFailureThreshold in interface ManagedThrottlingExceptionRoutePolicyMBeanpublic void setFailureThreshold(Integer numberOfFailures)
setFailureThreshold in interface ManagedThrottlingExceptionRoutePolicyMBeanpublic String currentState()
currentState in interface ManagedThrottlingExceptionRoutePolicyMBeanpublic String getHalfOpenHandlerName()
getHalfOpenHandlerName in interface ManagedThrottlingExceptionRoutePolicyMBeanpublic Integer getCurrentFailures()
getCurrentFailures in interface ManagedThrottlingExceptionRoutePolicyMBeanpublic Long getLastFailure()
getLastFailure in interface ManagedThrottlingExceptionRoutePolicyMBeanpublic Long getOpenAt()
getOpenAt in interface ManagedThrottlingExceptionRoutePolicyMBeanApache Camel