All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----JavaGroups.Queue
public Queue()
public void Add(Object msg) throws QueueClosedAddAtHead
public void AddAtHead(Object msg) throws QueueClosedRemove
public Object Remove() throws QueueClosedRemoveElement
public void RemoveElement(Object element) throws QueueClosedPeek
public Object Peek() throws QueueClosedRemove
public Object Remove(long timeout) throws QueueClosed, TimeoutPeek
public Object Peek(long timeout) throws QueueClosed, Timeout
public synchronized void Close(boolean flush_entries)
Add
or Remove
operation is
attempted on a closed queue, an exception is thrown.
public synchronized void Reset()Size
public int Size()toString
public String toString()
public Vector GetContents()main
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index