Interface ManagedSupervisingRouteControllerMBean
-
- All Superinterfaces:
ManagedRouteControllerMBean,ManagedServiceMBean
public interface ManagedSupervisingRouteControllerMBean extends ManagedRouteControllerMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetBackOffDelay()longgetBackOffMaxAttempts()longgetBackOffMaxDelay()longgetBackOffMaxElapsedTime()doublegetBackOffMultiplier()StringgetExcludeRoutes()Collection<String>getExhaustedRoutes()StringgetIncludeRoutes()longgetInitialDelay()intgetNumberOfControlledRoutes()intgetNumberOfExhaustedRoutes()intgetNumberOfRestartingRoutes()Collection<String>getRestartingRoutes()intgetThreadPoolSize()booleanisEnabled()TabularDatarouteStatus(boolean exhausted, boolean restarting, boolean includeStacktrace)-
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedRouteControllerMBean
getControlledRoutes, getRouteStartupLoggingLevel
-
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
-
isEnabled
@ManagedAttribute(description="Whether supervising is enabled") boolean isEnabled()
-
getThreadPoolSize
@ManagedAttribute(description="The number of threads used by the scheduled thread pool that are used for restarting routes") int getThreadPoolSize()
-
getInitialDelay
@ManagedAttribute(description="Initial delay in milli seconds before the route controller starts") long getInitialDelay()
-
getBackOffDelay
@ManagedAttribute(description="Backoff delay in millis when restarting a route that failed to startup") long getBackOffDelay()
-
getBackOffMaxDelay
@ManagedAttribute(description="Backoff maximum delay in millis when restarting a route that failed to startup") long getBackOffMaxDelay()
-
getBackOffMaxElapsedTime
@ManagedAttribute(description="Backoff maximum elapsed time in millis, after which the backoff should be considered exhausted and no more attempts should be made") long getBackOffMaxElapsedTime()
-
getBackOffMaxAttempts
@ManagedAttribute(description="Backoff maximum number of attempts to restart a route that failed to startup") long getBackOffMaxAttempts()
-
getBackOffMultiplier
@ManagedAttribute(description="Backoff multiplier to use for exponential backoff") double getBackOffMultiplier()
-
getIncludeRoutes
@ManagedAttribute(description="Pattern for filtering routes to be included as supervised") String getIncludeRoutes()
-
getExcludeRoutes
@ManagedAttribute(description="Pattern for filtering routes to be excluded as supervised") String getExcludeRoutes()
-
getNumberOfControlledRoutes
@ManagedAttribute(description="Number of routes controlled by the controller") int getNumberOfControlledRoutes()
-
getNumberOfRestartingRoutes
@ManagedAttribute(description="Number of routes which have failed to startup and are currently managed to be restarted") int getNumberOfRestartingRoutes()
-
getNumberOfExhaustedRoutes
@ManagedAttribute(description="Number of routes which have failed all attempts to startup and are now exhausted") int getNumberOfExhaustedRoutes()
-
getExhaustedRoutes
@ManagedAttribute(description="Exhausted routes") Collection<String> getExhaustedRoutes()
-
getRestartingRoutes
@ManagedAttribute(description="Routes that are restarting or scheduled to restart") Collection<String> getRestartingRoutes()
-
routeStatus
@ManagedOperation(description="Lists detailed status about all the routes (incl failure details for routes failed to start)") TabularData routeStatus(boolean exhausted, boolean restarting, boolean includeStacktrace)
-
-