com.metamatrix.common.queue
Class WorkerPoolStats

java.lang.Object
  extended by com.metamatrix.common.queue.WorkerPoolStats
All Implemented Interfaces:
java.io.Serializable

public class WorkerPoolStats
extends java.lang.Object
implements java.io.Serializable

This class is a holder for all the statistics gathered about a worker pool.

See Also:
Serialized Form

Field Summary
 int activeThreads
           
 int highestActiveThreads
           
 int maxThreads
           
 java.lang.String name
           
 int queued
           
 long totalCompleted
           
 long totalSubmitted
           
 
Constructor Summary
WorkerPoolStats()
           
 
Method Summary
 int getActiveThreads()
           
 int getHighestActiveThreads()
           
 int getHighestQueued()
           
 int getMaxThreads()
           
 int getQueued()
           
 java.lang.String getQueueName()
           
 long getTotalCompleted()
           
 long getTotalSubmitted()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public java.lang.String name

queued

public int queued

maxThreads

public int maxThreads

activeThreads

public int activeThreads

highestActiveThreads

public int highestActiveThreads

totalSubmitted

public long totalSubmitted

totalCompleted

public long totalCompleted
Constructor Detail

WorkerPoolStats

public WorkerPoolStats()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getActiveThreads

public int getActiveThreads()

getHighestActiveThreads

public int getHighestActiveThreads()

getTotalCompleted

public long getTotalCompleted()

getTotalSubmitted

public long getTotalSubmitted()

getQueueName

public java.lang.String getQueueName()

getQueued

public int getQueued()

getHighestQueued

public int getHighestQueued()

getMaxThreads

public int getMaxThreads()


Copyright © 2009. All Rights Reserved.