Interface ManagedAsyncProcessorAwaitManagerMBean
-
- All Superinterfaces:
ManagedServiceMBean
public interface ManagedAsyncProcessorAwaitManagerMBean extends ManagedServiceMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TabularDatabrowse()longgetMaxDuration()longgetMeanDuration()longgetMinDuration()intgetSize()longgetThreadsBlocked()longgetThreadsInterrupted()longgetTotalDuration()voidinterrupt(String exchangeId)booleanisInterruptThreadsWhileStopping()booleanisStatisticsEnabled()voidresetStatistics()voidsetInterruptThreadsWhileStopping(boolean interruptThreadsWhileStopping)voidsetStatisticsEnabled(boolean statisticsEnabled)-
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
-
isInterruptThreadsWhileStopping
@ManagedAttribute(description="Whether to interrupt any blocking threads during stopping.") boolean isInterruptThreadsWhileStopping()
-
setInterruptThreadsWhileStopping
@ManagedAttribute(description="Whether to interrupt any blocking threads during stopping.") void setInterruptThreadsWhileStopping(boolean interruptThreadsWhileStopping)
-
getSize
@ManagedAttribute(description="Number of threads that are blocked waiting for other threads to trigger the callback when they are done processing the exchange") int getSize()
-
browse
@ManagedOperation(description="Lists all the exchanges which are currently inflight, having a blocked thread awaiting for other threads to trigger the callback when they are done") TabularData browse()
-
interrupt
@ManagedOperation(description="To interrupt an exchange which may seem as stuck, to force the exchange to continue, allowing any blocking thread to be released.") void interrupt(String exchangeId)
-
getThreadsBlocked
@ManagedAttribute(description="Number of threads that has been blocked") long getThreadsBlocked()
-
getThreadsInterrupted
@ManagedAttribute(description="Number of threads that has been interrupted") long getThreadsInterrupted()
-
getTotalDuration
@ManagedAttribute(description="Total wait time in msec.") long getTotalDuration()
-
getMinDuration
@ManagedAttribute(description="The minimum wait time in msec.") long getMinDuration()
-
getMaxDuration
@ManagedAttribute(description="The maximum wait time in msec.") long getMaxDuration()
-
getMeanDuration
@ManagedAttribute(description="The average wait time in msec.") long getMeanDuration()
-
resetStatistics
@ManagedOperation(description="Resets the statistics") void resetStatistics()
-
isStatisticsEnabled
@ManagedAttribute(description="Utilization statistics enabled") boolean isStatisticsEnabled()
-
setStatisticsEnabled
@ManagedAttribute(description="Utilization statistics enabled") void setStatisticsEnabled(boolean statisticsEnabled)
-
-