Interface ManagedDelayerMBean
-
- All Superinterfaces:
ManagedCounterMBean
,ManagedPerformanceCounterMBean
,ManagedProcessorMBean
public interface ManagedDelayerMBean extends ManagedProcessorMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
constantDelay(Integer millis)
Long
getDelay()
int
getDelayedCount()
Boolean
isAsyncDelayed()
Boolean
isCallerRunsWhenRejected()
-
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedCounterMBean
getExchangesTotal, getResetTimestamp, getStartTimestamp, reset
-
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedPerformanceCounterMBean
dumpStatsAsXml, getDeltaProcessingTime, getExchangesCompleted, getExchangesFailed, getExchangesInflight, getExternalRedeliveries, getFailuresHandled, getFirstExchangeCompletedExchangeId, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureExchangeId, getFirstExchangeFailureTimestamp, getLastExchangeCompletedExchangeId, getLastExchangeCompletedTimestamp, getLastExchangeCreatedTimestamp, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, isStatisticsEnabled, setStatisticsEnabled
-
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
dumpProcessorAsXml, getCamelId, getCamelManagementName, getIndex, getLevel, getProcessorId, getProcessorName, getRouteId, getSourceLineNumber, getSourceLocation, getState, getStepId, getSupportExtendedInformation, start, stop
-
-
-
-
Method Detail
-
getDelay
@ManagedAttribute(description="Delay") Long getDelay()
-
constantDelay
@ManagedOperation(description="Set a constant delay in millis") void constantDelay(Integer millis)
-
getDelayedCount
@ManagedAttribute(description="Number of exchanges currently delayed") int getDelayedCount()
-
isAsyncDelayed
@ManagedAttribute(description="Enables asynchronous delay which means the thread will not block while delaying") Boolean isAsyncDelayed()
-
isCallerRunsWhenRejected
@ManagedAttribute(description="Whether or not the caller should run the task when it was rejected by the thread pool") Boolean isCallerRunsWhenRejected()
-
-