Interface ManagedAsyncProcessorAwaitManagerMBean
- All Superinterfaces:
ManagedServiceMBean
-
Method Summary
Modifier and TypeMethodDescriptionbrowse()
long
long
long
int
getSize()
long
long
long
void
boolean
boolean
void
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 Details
-
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
-
getThreadsInterrupted
@ManagedAttribute(description="Number of threads that has been interrupted") long getThreadsInterrupted() -
getTotalDuration
-
getMinDuration
-
getMaxDuration
-
getMeanDuration
-
resetStatistics
-
isStatisticsEnabled
-
setStatisticsEnabled
@ManagedAttribute(description="Utilization statistics enabled") void setStatisticsEnabled(boolean statisticsEnabled)
-