com.bigdata.util.concurrent
Interface IQueueCounters.IThreadPoolExecutorCounters

All Superinterfaces:
ICounterHierarchy, IQueueCounters
Enclosing interface:
IQueueCounters

public static interface IQueueCounters.IThreadPoolExecutorCounters
extends IQueueCounters

Additional counters available for any ThreadPoolExecutor.

Version:
$Id: IQueueCounters.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.bigdata.util.concurrent.IQueueCounters
IQueueCounters.ITaskCounters, IQueueCounters.IThreadPoolExecutorCounters, IQueueCounters.IThreadPoolExecutorTaskCounters, IQueueCounters.IWriteServiceExecutorCounters
 
Field Summary
static String AverageActiveCount
          The #of tasks that are currently running (moving average).
static String AverageQueueLength
          The queue length (moving average).
static String LargestPoolSize
          The maximum observed value for the size of the thread pool for the service.
static String PoolSize
          The current size of the thread pool for the service.
static String TaskCompleteCount
          Count of all tasks completed by the service (failed + success).
 
Fields inherited from interface com.bigdata.util.concurrent.IQueueCounters
AverageQueueSize
 
Fields inherited from interface com.bigdata.counters.ICounterHierarchy
CPU, Info, LogicalDisk, Memory, Memory_GarbageCollectors, PhysicalDisk, ps
 

Field Detail

TaskCompleteCount

static final String TaskCompleteCount
Count of all tasks completed by the service (failed + success).

See Also:
IQueueCounters.ITaskCounters.TaskCompleteCount, Constant Field Values

AverageActiveCount

static final String AverageActiveCount
The #of tasks that are currently running (moving average).

Note: This count does NOT reflect the #of tasks holding locks for queues where tasks require locks to execute.

See Also:
IQueueCounters.IWriteServiceExecutorCounters.AverageActiveCountWithLocksHeld, Constant Field Values

AverageQueueLength

static final String AverageQueueLength
The queue length (moving average).

Note: this is the primary average of interest - it includes both the tasks waiting to be run and those that are currently running in the definition of the "queue length".

See Also:
Constant Field Values

PoolSize

static final String PoolSize
The current size of the thread pool for the service.

See Also:
Constant Field Values

LargestPoolSize

static final String LargestPoolSize
The maximum observed value for the size of the thread pool for the service.

See Also:
Constant Field Values


Copyright © 2006-2012 SYSTAP, LLC. All Rights Reserved.