Package org.apache.camel.spi
Interface AsyncProcessorAwaitManager.Statistics
- Enclosing interface:
AsyncProcessorAwaitManager
public static interface AsyncProcessorAwaitManager.Statistics
Utilization statistics of this manager.
-
Method Summary
Modifier and TypeMethodDescriptionlong
The highest duration time in millis.long
The average duration time in millis.long
The lowest duration time in millis.long
Total number of threads that has been blockedlong
Total number of threads that has been forced interruptedlong
The total duration time in millis.boolean
Whether statistics is enabled.void
reset()
Reset the countersvoid
setStatisticsEnabled
(boolean statisticsEnabled) Sets whether statistics is enabled.
-
Method Details
-
getThreadsBlocked
long getThreadsBlocked()Total number of threads that has been blocked -
getThreadsInterrupted
long getThreadsInterrupted()Total number of threads that has been forced interrupted -
getTotalDuration
long getTotalDuration()The total duration time in millis. -
getMinDuration
long getMinDuration()The lowest duration time in millis. -
getMaxDuration
long getMaxDuration()The highest duration time in millis. -
getMeanDuration
long getMeanDuration()The average duration time in millis. -
reset
void reset()Reset the counters -
isStatisticsEnabled
boolean isStatisticsEnabled()Whether statistics is enabled. -
setStatisticsEnabled
void setStatisticsEnabled(boolean statisticsEnabled) Sets whether statistics is enabled.- Parameters:
statisticsEnabled
- true to enable
-