public class SEPMetrics
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| com.codahale.metrics.Gauge<java.lang.Integer> | activeTasksNumber of active tasks. | 
| com.codahale.metrics.Gauge<java.lang.Long> | completedTasksNumber of completed tasks. | 
| com.codahale.metrics.Counter | currentBlockedNumber of tasks currently blocked, waiting to be accepted by
 the executor (because all threads are busy and the backing queue is full). | 
| com.codahale.metrics.Gauge<java.lang.Integer> | maxPoolSizeMaximum number of threads before it will start queuing tasks | 
| com.codahale.metrics.Gauge<java.lang.Long> | pendingTasksNumber of tasks waiting to be executed. | 
| com.codahale.metrics.Counter | totalBlockedNumber of tasks that had blocked before being accepted (or rejected). | 
| Constructor and Description | 
|---|
| SEPMetrics(SEPExecutor executor,
          java.lang.String path,
          java.lang.String poolName)Create metrics for the given LowSignalExecutor. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | release() | 
public final com.codahale.metrics.Gauge<java.lang.Integer> activeTasks
public final com.codahale.metrics.Counter totalBlocked
public final com.codahale.metrics.Counter currentBlocked
public final com.codahale.metrics.Gauge<java.lang.Long> completedTasks
public final com.codahale.metrics.Gauge<java.lang.Long> pendingTasks
public final com.codahale.metrics.Gauge<java.lang.Integer> maxPoolSize
public SEPMetrics(SEPExecutor executor, java.lang.String path, java.lang.String poolName)
executor - Thread poolpath - Type of thread poolpoolName - Name of thread pool to identify metricsCopyright © 2018 The Apache Software Foundation