@Immutable public interface Queue
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
Queue.Memory
In memory. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Coordinates | 
pull(int limit,
    TimeUnit unit)
Pull the next available work (waits until it is available). 
 | 
void | 
push(Coordinates work)
Push new work into it. 
 | 
void push(@NotNull(message="work can\'t be NULL") Coordinates work)
work - The work to do@NotNull(message="work is never NULL") Coordinates pull(int limit, @NotNull(message="time unit can\'t be NULL") TimeUnit unit) throws InterruptedException
limit - How many time rules to wait for, maximumunit - Time unitInterruptedException - If interrupted while waitingCopyright © 2009–2014 Rultor Inc.. All rights reserved.