Package alpine.common.util
Class ExecutorUtil
java.lang.Object
alpine.common.util.ExecutorUtil
Utility methods for working with
ExecutorServices.- Since:
- 2.3.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutorUtil.ExecutorStatsgetExecutorStats(ExecutorService executor) GathersExecutorUtil.ExecutorStatsabout a givenExecutorService.
-
Method Details
-
getExecutorStats
GathersExecutorUtil.ExecutorStatsabout a givenExecutorService.- Parameters:
executor- TheExecutorServiceto collect stats for- Returns:
- The collected
ExecutorUtil.ExecutorStats
-