|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ecf.core.sharedobject.util.QueueEnqueueImpl
public class QueueEnqueueImpl
| Constructor Summary | |
|---|---|
QueueEnqueueImpl(SimpleFIFOQueue impl)
|
|
| Method Summary | |
|---|---|
void |
enqueue_abort(java.lang.Object enqueue_key)
Abort the commit of a set of Event instances previously prepared via IQueueEnqueue.enqueue_prepare(Event[]) |
void |
enqueue_commit(java.lang.Object enqueue_key)
Commit a set of Event instances previously prepared via IQueueEnqueue.enqueue_prepare(Event[]) |
boolean |
enqueue_lossy(Event element)
Enqueue the given event with lossy enqueuing. |
java.lang.Object |
enqueue_prepare(Event[] elements)
Prepare an enqueue of a set of Event instances. |
void |
enqueue(Event element)
Enqueue a given Event onto the underlying queue |
void |
enqueue(Event[] elements)
Enqueue a set of events Event onto the underlying queue |
IEnqueueProcessor |
getEnqueueProcessor()
Get enqueue processor for this queue. |
void |
setEnqueueProcessor(IEnqueueProcessor pred)
Set enqueue processor for this queue. |
int |
size()
Return size of contents in queue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueueEnqueueImpl(SimpleFIFOQueue impl)
| Method Detail |
|---|
public void enqueue(Event element)
throws QueueException
IQueueEnqueue
enqueue in interface IQueueEnqueueelement -
QueueException - not thrown by this implementation.
public void enqueue(Event[] elements)
throws QueueException
IQueueEnqueue
enqueue in interface IQueueEnqueueelements - the Events to enqueue
QueueException - thrown if events cannot be enqueued
public java.lang.Object enqueue_prepare(Event[] elements)
throws QueueException
IQueueEnqueueIQueueEnqueue.enqueue_commit(Object), or to abort the prepared
enqueue transaction IQueueEnqueue.enqueue_abort(Object)
enqueue_prepare in interface IQueueEnqueueelements -
QueueException - not thrown by this implementation.public void enqueue_commit(java.lang.Object enqueue_key)
IQueueEnqueueIQueueEnqueue.enqueue_prepare(Event[])
enqueue_commit in interface IQueueEnqueueenqueue_key - the transaction key previously returned from the call to
IQueueEnqueue.enqueue_prepare(Event[])public void enqueue_abort(java.lang.Object enqueue_key)
IQueueEnqueueIQueueEnqueue.enqueue_prepare(Event[])
enqueue_abort in interface IQueueEnqueueenqueue_key - the transaction key previously returned from the call to
IQueueEnqueue.enqueue_prepare(Event[])public boolean enqueue_lossy(Event element)
IQueueEnqueue
enqueue_lossy in interface IQueueEnqueueelement - the event to
public void setEnqueueProcessor(IEnqueueProcessor pred)
IQueueEnqueue
setEnqueueProcessor in interface IQueueEnqueuepred - the IEnqueueProcessor for this queue. Should not be null.public IEnqueueProcessor getEnqueueProcessor()
IQueueEnqueueIQueueEnqueue.setEnqueueProcessor(IEnqueueProcessor). Returns null if no
enqueue processor previously assigned
getEnqueueProcessor in interface IQueueEnqueueIQueueEnqueue.setEnqueueProcessor(IEnqueueProcessor)public int size()
IQueueEnqueue
size in interface IQueueEnqueue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||