Package org.apache.camel.spi
Interface AsyncProcessorAwaitManager.Statistics
-
- Enclosing interface:
- AsyncProcessorAwaitManager
public static interface AsyncProcessorAwaitManager.StatisticsUtilization statistics of this manager.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetMaxDuration()The highest duration time in millis.longgetMeanDuration()The average duration time in millis.longgetMinDuration()The lowest duration time in millis.longgetThreadsBlocked()Total number of threads that has been blockedlonggetThreadsInterrupted()Total number of threads that has been forced interruptedlonggetTotalDuration()The total duration time in millis.booleanisStatisticsEnabled()Whether statistics is enabled.voidreset()Reset the countersvoidsetStatisticsEnabled(boolean statisticsEnabled)Sets whether statistics is enabled.
-
-
-
Method Detail
-
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
-
-