public class SyncObject<T> extends java.util.concurrent.SynchronousQueue<T> implements IAxon<T>
IAxon.AxonException| Constructor and Description |
|---|
SyncObject() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
async_push(T i) |
void |
CloseForced() |
void |
CloseWhenEmpty() |
T |
getCache() |
boolean |
isClosed() |
boolean |
isEmpty() |
IAxon<T> |
reset() |
boolean |
setSize(int a) |
int |
size() |
T |
sync_peek() |
T |
sync_pop() |
boolean |
sync_push(T i) |
clear, contains, containsAll, drainTo, drainTo, iterator, offer, offer, peek, poll, poll, put, remainingCapacity, remove, removeAll, retainAll, take, toArray, toArraypublic 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 int size()
public boolean isEmpty()
public void CloseWhenEmpty()
CloseWhenEmpty in interface IAxon<T>public void CloseForced()
CloseForced in interface IAxon<T>