org.teiid.adminapi
Interface QueueWorkerPool

All Superinterfaces:
AdminObject
All Known Implementing Classes:
MMQueueWorkerPool

public interface QueueWorkerPool
extends AdminObject

All server modules use queue based processing inside them. This object holds the statistics of those queues, as per how many of them queued, dequeued, processed etc.

An identifier for QueueWorkerPool, is nothing but the modules it self, like "DQP", "QueryService" or Connector Binding names etc.

Since:
4.3

Field Summary
 
Fields inherited from interface org.teiid.adminapi.AdminObject
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD
 
Method Summary
 int getHighestQueued()
           
 int getHighestThreads()
           
 int getQueued()
           
 int getThreads()
           
 long getTotalCompleted()
           
 long getTotalDequeues()
          Deprecated. see getTotalCompleted()
 long getTotalEnqueues()
          Deprecated. see getTotalSubmitted()
 int getTotalHighwaterMark()
          Deprecated. see getHighestQueued()
 long getTotalSubmitted()
           
 
Methods inherited from interface org.teiid.adminapi.AdminObject
getIdentifier, getName, getProperties, getPropertyValue
 

Method Detail

getQueued

int getQueued()
Returns:
Returns the number of requests queued.
Since:
4.3

getThreads

int getThreads()
Returns:
Returns the number of threads.
Since:
4.3

getHighestThreads

int getHighestThreads()
Returns:
Returns the highest number of active threads

getTotalDequeues

long getTotalDequeues()
Deprecated. see getTotalCompleted()

Returns:
Returns the number of totalDequeues.
Since:
4.3

getTotalCompleted

long getTotalCompleted()
Returns:
The number of completed tasks

getTotalEnqueues

long getTotalEnqueues()
Deprecated. see getTotalSubmitted()

Returns:
Returns the number of totalEnqueues.
Since:
4.3

getTotalSubmitted

long getTotalSubmitted()
Returns:
The number of submitted tasks

getTotalHighwaterMark

int getTotalHighwaterMark()
Deprecated. see getHighestQueued()

Returns:
Returns the totalHighwaterMark.
Since:
4.3

getHighestQueued

int getHighestQueued()
Returns:
Returns the highest queue size


Copyright © 2009. All Rights Reserved.