Package org.apache.camel.spi
Interface AsyncProcessorAwaitManager.Statistics
-
- Enclosing interface:
- AsyncProcessorAwaitManager
public static interface AsyncProcessorAwaitManager.Statistics
Utilization statistics of this manager.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getMaxDuration()
The highest duration time in millis.long
getMeanDuration()
The average duration time in millis.long
getMinDuration()
The lowest duration time in millis.long
getThreadsBlocked()
Total number of threads that has been blockedlong
getThreadsInterrupted()
Total number of threads that has been forced interruptedlong
getTotalDuration()
The total duration time in millis.boolean
isStatisticsEnabled()
Whether statistics is enabled.void
reset()
Reset the countersvoid
setStatisticsEnabled(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
-
-