|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.hystrix.HystrixThreadPoolMetrics
public class HystrixThreadPoolMetrics
Used by HystrixThreadPool to record metrics.
| Method Summary | |
|---|---|
long |
getCumulativeCountThreadsExecuted()
Cumulative count of number of threads executed since the start of the application. |
java.lang.Number |
getCurrentActiveCount()
Value from ThreadPoolExecutor.getActiveCount() |
java.lang.Number |
getCurrentCompletedTaskCount()
Value from ThreadPoolExecutor.getCompletedTaskCount() |
java.lang.Number |
getCurrentCorePoolSize()
Value from ThreadPoolExecutor.getCorePoolSize() |
java.lang.Number |
getCurrentLargestPoolSize()
Value from ThreadPoolExecutor.getLargestPoolSize() |
java.lang.Number |
getCurrentMaximumPoolSize()
Value from ThreadPoolExecutor.getMaximumPoolSize() |
java.lang.Number |
getCurrentPoolSize()
Value from ThreadPoolExecutor.getPoolSize() |
java.lang.Number |
getCurrentQueueSize()
Current size of BlockingQueue used by the thread-pool |
java.lang.Number |
getCurrentTaskCount()
Value from ThreadPoolExecutor.getTaskCount() |
long |
getRollingCountThreadsExecuted()
Rolling count of number of threads executed during rolling statistical window. |
long |
getRollingMaxActiveThreads()
Rolling max number of active threads during rolling statistical window. |
void |
markThreadCompletion()
Invoked each time a thread completes. |
void |
markThreadExecution()
Invoked each time a thread is executed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.Number getCurrentActiveCount()
ThreadPoolExecutor.getActiveCount()
public java.lang.Number getCurrentCompletedTaskCount()
ThreadPoolExecutor.getCompletedTaskCount()
public java.lang.Number getCurrentCorePoolSize()
ThreadPoolExecutor.getCorePoolSize()
public java.lang.Number getCurrentLargestPoolSize()
ThreadPoolExecutor.getLargestPoolSize()
public java.lang.Number getCurrentMaximumPoolSize()
ThreadPoolExecutor.getMaximumPoolSize()
public java.lang.Number getCurrentPoolSize()
ThreadPoolExecutor.getPoolSize()
public java.lang.Number getCurrentTaskCount()
ThreadPoolExecutor.getTaskCount()
public java.lang.Number getCurrentQueueSize()
BlockingQueue used by the thread-pool
public void markThreadExecution()
public long getRollingCountThreadsExecuted()
The rolling window is defined by HystrixThreadPoolProperties.metricsRollingStatisticalWindowInMilliseconds().
public long getCumulativeCountThreadsExecuted()
public void markThreadCompletion()
public long getRollingMaxActiveThreads()
The rolling window is defined by HystrixThreadPoolProperties.metricsRollingStatisticalWindowInMilliseconds().
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||