public abstract class AbstractWorkerValueQueue<E> extends java.lang.Object implements WorkerValueQueue<E>
WorkerValueQueue.ExecuteOnTaken<E>, WorkerValueQueue.ExecuteWhileWaiting<E>| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_WAIT_INTERVAL |
static java.util.concurrent.TimeUnit |
DEFAULT_WAIT_INTERVAL_UNIT |
| Constructor and Description |
|---|
AbstractWorkerValueQueue() |
| Modifier and Type | Method and Description |
|---|---|
void |
put(E value) |
void |
waitUntilEmpty() |
void |
waitUntilEmpty(WorkerValueQueue.ExecuteWhileWaiting exec) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, clearValueTaken, executeOnTakenValues, isValueTakenOrQueueNotEmpty, put, stop, take, waitUntilEmptypublic static final int DEFAULT_WAIT_INTERVAL
public static final java.util.concurrent.TimeUnit DEFAULT_WAIT_INTERVAL_UNIT
public void put(E value)
put in interface WorkerValueQueue<E>public void waitUntilEmpty()
waitUntilEmpty in interface WorkerValueQueue<E>public void waitUntilEmpty(WorkerValueQueue.ExecuteWhileWaiting exec)
waitUntilEmpty in interface WorkerValueQueue<E>Copyright © 2018 SAP SE. All Rights Reserved.