Interface ManagedThrottlingExceptionRoutePolicyMBean
-
- All Superinterfaces:
ManagedServiceMBean
public interface ManagedThrottlingExceptionRoutePolicyMBean extends ManagedServiceMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
currentState()
Integer
getCurrentFailures()
Integer
getFailureThreshold()
Long
getFailureWindow()
Long
getHalfOpenAfter()
String
getHalfOpenHandlerName()
Long
getLastFailure()
Long
getOpenAt()
void
setFailureThreshold(Integer numberOfFailures)
void
setFailureWindow(Long milliseconds)
void
setHalfOpenAfter(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()
-
-