Interface ManagedAsyncProcessorAwaitManagerMBean
-
- All Superinterfaces:
ManagedServiceMBean
public interface ManagedAsyncProcessorAwaitManagerMBean extends ManagedServiceMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TabularData
browse()
long
getMaxDuration()
long
getMeanDuration()
long
getMinDuration()
int
getSize()
long
getThreadsBlocked()
long
getThreadsInterrupted()
long
getTotalDuration()
void
interrupt(String exchangeId)
boolean
isInterruptThreadsWhileStopping()
boolean
isStatisticsEnabled()
void
resetStatistics()
void
setInterruptThreadsWhileStopping(boolean interruptThreadsWhileStopping)
void
setStatisticsEnabled(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)
-
-