org.eclipse.ecf.provider.generic
Class QueueEnqueueImpl
java.lang.Object
org.eclipse.ecf.provider.generic.QueueEnqueueImpl
- All Implemented Interfaces:
- IQueueEnqueue
public class QueueEnqueueImpl
- extends java.lang.Object
- implements IQueueEnqueue
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueueEnqueueImpl
public QueueEnqueueImpl(SimpleQueueImpl impl)
enqueue
public void enqueue(Event element)
throws QueueException
- Specified by:
enqueue
in interface IQueueEnqueue
- Throws:
QueueException
enqueue
public void enqueue(Event[] elements)
throws QueueException
- Specified by:
enqueue
in interface IQueueEnqueue
- Throws:
QueueException
enqueue_prepare
public java.lang.Object enqueue_prepare(Event[] elements)
throws QueueException
- Specified by:
enqueue_prepare
in interface IQueueEnqueue
- Throws:
QueueException
enqueue_commit
public void enqueue_commit(java.lang.Object enqueue_key)
- Specified by:
enqueue_commit
in interface IQueueEnqueue
enqueue_abort
public void enqueue_abort(java.lang.Object enqueue_key)
- Specified by:
enqueue_abort
in interface IQueueEnqueue
enqueue_lossy
public boolean enqueue_lossy(Event element)
- Specified by:
enqueue_lossy
in interface IQueueEnqueue
setEnqueuePredicate
public void setEnqueuePredicate(IEnqueuePredicate pred)
- Specified by:
setEnqueuePredicate
in interface IQueueEnqueue
getEnqueuePredicate
public IEnqueuePredicate getEnqueuePredicate()
- Specified by:
getEnqueuePredicate
in interface IQueueEnqueue
size
public int size()
- Specified by:
size
in interface IQueueEnqueue