wt.queue
Class StandardQueueService

java.lang.Object
  extended by wt.services.StandardManager
      extended by wt.queue.StandardQueueService
All Implemented Interfaces:
Serializable, NetFactor, QueueService, wt.services.Manager

public class StandardQueueService
extends StandardManager
implements QueueService, Serializable

Standard implementation of the QueueService interface.

Use the newStandardQueueService static factory method(s), not the StandardQueueService constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: false

See Also:
Serialized Form

Method Summary
 void executeEntry(QueueEntry entry)
          Execute the entry passed as argument.
 Enumeration queues()
          Returns all process queues.
 void startAllQueues()
          Starts all existing queues.
 void startQueue(ProcessingQueue queue)
          Starts a specific queue.
 void startQueue(ScheduleQueue queue)
          

Supported API: true
 void stopAllQueues()
          Stops all existing queues.
 void stopQueue(ProcessingQueue queue)
          Stops a specific queue.
 void stopQueue(ScheduleQueue queue)
          

Supported API: true
 
Methods inherited from class wt.services.StandardManager
getManagerService, getManagerStatus, getName, getStartupType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

queues

public Enumeration queues()
                   throws WTException
Returns all process queues.

Supported API: true

Specified by:
queues in interface QueueService
Returns:
Enumeration
Throws:
WTException

startAllQueues

public void startAllQueues()
                    throws WTException
Starts all existing queues.

Supported API: true

Specified by:
startAllQueues in interface QueueService
Throws:
WTException

stopAllQueues

public void stopAllQueues()
                   throws WTException
Stops all existing queues.

Supported API: true

Specified by:
stopAllQueues in interface QueueService
Throws:
WTException

startQueue

public void startQueue(ProcessingQueue queue)
                throws WTException
Starts a specific queue.

Supported API: true

Specified by:
startQueue in interface QueueService
Parameters:
queue -
Throws:
WTException

startQueue

public void startQueue(ScheduleQueue queue)
                throws WTException


Supported API: true

Specified by:
startQueue in interface QueueService
Parameters:
queue -
Throws:
WTException

stopQueue

public void stopQueue(ProcessingQueue queue)
               throws WTException
Stops a specific queue.

Supported API: true

Specified by:
stopQueue in interface QueueService
Parameters:
queue -
Throws:
WTException

stopQueue

public void stopQueue(ScheduleQueue queue)
               throws WTException


Supported API: true

Specified by:
stopQueue in interface QueueService
Parameters:
queue -
Throws:
WTException

executeEntry

public void executeEntry(QueueEntry entry)
                  throws WTException
Execute the entry passed as argument.

Supported API: true

Specified by:
executeEntry in interface QueueService
Parameters:
entry -
Throws:
WTException