public class MamaQueueGroup
extends java.lang.Object
| Constructor and Description |
|---|
MamaQueueGroup(int numberOfQueues,
MamaBridge bridge)
Create a
MamaQueueGroup with the specified number of
MamaQueues. |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy the queue, this function should only be called if there are no
open objects against the queue.
|
void |
destroyTimedWait(long timeout)
Destroy a queue.
|
void |
destroyWait()
Destroy a queue.
|
MamaQueue |
getNextQueue()
Return the next queue.
|
void |
startDispatch() |
void |
stopDispatch() |
public MamaQueueGroup(int numberOfQueues,
MamaBridge bridge)
MamaQueueGroup with the specified number of
MamaQueues. If the number of queues is 0,
getNextQueue() returns the default queue for the bridge.numberOfQueues - The number of queues to create.public void destroy()
MamaException - will be thrown if there are open objects.public void destroyWait()
public void destroyTimedWait(long timeout)
timeout - The time to block for in milliseconds.MamaException - will be thrown if the timeout elapses.public MamaQueue getNextQueue()
public void stopDispatch()
public void startDispatch()
Copyright 2011 NYSE Technologies