public class BlockedOrderedQueue extends Object
| Constructor and Description | 
|---|
BlockedOrderedQueue(RemoteEventListener listener,
                   ExecutorService threadPool,
                   long maxCapacity,
                   NotifyInfo info)
Constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
RemoteEvent | 
dequeue()
Remove and return the next event in queue. 
 | 
void | 
enqueue(RemoteEvent theEvent)
Add new event object to the queue. 
 | 
void | 
interrupt()
This method interrupts all blocked threads awaiting on enqueue. 
 | 
void | 
setInitialSeqNumbers(Map<Uuid,Long> initialSeqNumbers)  | 
public BlockedOrderedQueue(RemoteEventListener listener, ExecutorService threadPool, long maxCapacity, NotifyInfo info)
maxCapacity - the maximum capacity of the queuepublic void enqueue(RemoteEvent theEvent)
theEvent - the event to be enqueuedpublic RemoteEvent dequeue()
public void interrupt()
Copyright © GigaSpaces.