public interface Queue
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the queue.
|
String |
pull()
Pulls a message from a queue.
|
void |
push(String task)
Pushes a message to a queue.
|
void |
setName(String name)
Sets the name of the queue.
|
String pull()
void push(String task)
task - the messageString getName()
void setName(String name)
name - a nameCopyright © 2016 Erudika. All rights reserved.