public class CSQueueStore extends Object
| Constructor and Description |
|---|
CSQueueStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(CSQueue queue)
Method for adding a queue to the store.
|
void |
clear()
Clears the store, removes all queue references.
|
CSQueue |
get(String name)
Getter method for the queue it can find queues by both full and
short names.
|
Collection<CSQueue> |
getQueues()
Returns all queues as a list.
|
void |
remove(CSQueue queue)
Method for removing a queue from the store.
|
void |
remove(String name)
Method for removing a queue from the store by name.
|
public void add(CSQueue queue)
queue - Queue to be addedpublic void remove(CSQueue queue)
queue - The queue to be removedpublic void remove(String name)
name - A deterministic name for the queue to be removedpublic CSQueue get(String name)
name - Full or short name of the queuepublic void clear()
public Collection<CSQueue> getQueues()
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.