| Constructor and Description |
|---|
HazelcastWorkQueue() |
| Modifier and Type | Method and Description |
|---|---|
void |
awaitEmpty()
Blocks the calling thread until the queue is empty.
|
boolean |
isStarted() |
WorkUnit |
poll(long timeout,
TimeUnit unit) |
void |
put(WorkUnit workUnit) |
void |
start() |
void |
stop() |
public void put(WorkUnit workUnit) throws InterruptedException
put in interface WorkQueueInterruptedExceptionpublic WorkUnit poll(long timeout, TimeUnit unit) throws InterruptedException
poll in interface WorkQueueInterruptedExceptionpublic void awaitEmpty()
WorkQueueawaitEmpty in interface WorkQueueCopyright © 2018. All rights reserved.