public class SyncQueue<T> extends java.util.concurrent.ConcurrentLinkedQueue<T> implements IAxon<T>
IAxon.AxonException| Modifier and Type | Method and Description |
|---|---|
T |
apop() |
T |
async_peek() |
boolean |
async_push(T i) |
void |
CloseForced() |
void |
CloseWhenEmpty() |
T |
getCache() |
boolean |
isClosed() |
SyncQueue<T> |
reset() |
boolean |
setSize(int a) |
T |
sync_peek() |
T |
sync_pop() |
boolean |
sync_push(T i) |
add, addAll, contains, isEmpty, iterator, offer, peek, poll, remove, size, toArray, toArraycontainsAll, removeAll, retainAll, toStringpublic boolean sync_push(T i) throws java.lang.InterruptedException
public T sync_pop() throws java.lang.InterruptedException, IAxon.AxonException
sync_pop in interface IAxon<T>java.lang.InterruptedExceptionIAxon.AxonExceptionpublic boolean async_push(T i)
async_push in interface IAxon<T>public T apop()
public void CloseWhenEmpty()
CloseWhenEmpty in interface IAxon<T>public void CloseForced()
CloseForced in interface IAxon<T>public T sync_peek() throws java.lang.InterruptedException
public T async_peek() throws java.lang.InterruptedException
java.lang.InterruptedException