Interface ManagedThrottlingExceptionRoutePolicyMBean
-
- All Superinterfaces:
ManagedServiceMBean
public interface ManagedThrottlingExceptionRoutePolicyMBean extends ManagedServiceMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringcurrentState()IntegergetCurrentFailures()IntegergetFailureThreshold()LonggetFailureWindow()LonggetHalfOpenAfter()StringgetHalfOpenHandlerName()LonggetLastFailure()LonggetOpenAt()voidsetFailureThreshold(Integer numberOfFailures)voidsetFailureWindow(Long milliseconds)voidsetHalfOpenAfter(Long milliseconds)-
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedServiceMBean
getCamelId, getCamelManagementName, getRouteId, getServiceType, getState, isStaticService, isSupportSuspension, isSuspended, resume, start, stop, suspend
-
-
-
-
Method Detail
-
getHalfOpenAfter
@ManagedAttribute(description="How long to wait before moving open circuit to half open") Long getHalfOpenAfter()
-
setHalfOpenAfter
@ManagedAttribute(description="How long to wait before moving open circuit to half open") void setHalfOpenAfter(Long milliseconds)
-
getFailureWindow
@ManagedAttribute(description="The range of time that failures should occur within") Long getFailureWindow()
-
setFailureWindow
@ManagedAttribute(description="The range of time that failures should occur within") void setFailureWindow(Long milliseconds)
-
getFailureThreshold
@ManagedAttribute(description="Number of failures before opening circuit") Integer getFailureThreshold()
-
setFailureThreshold
@ManagedAttribute(description="Number of failures before opening circuit") void setFailureThreshold(Integer numberOfFailures)
-
currentState
@ManagedOperation(description="The current state of the circuit") String currentState()
-
getHalfOpenHandlerName
@ManagedAttribute(description="The half open handler registered (if any)") String getHalfOpenHandlerName()
-
getCurrentFailures
@ManagedAttribute(description="The number of failures caught") Integer getCurrentFailures()
-
getLastFailure
@ManagedAttribute(description="Number of ms since the last failure was recorded") Long getLastFailure()
-
getOpenAt
@ManagedAttribute(description="Number ms since the circuit was opened") Long getOpenAt()
-
-