public class DeprecatedWorkerValueQueue<E> extends AbstractWorkerValueQueue<E>
Don't use it elsewhere!
WorkerValueQueue.ExecuteOnTaken<E>, WorkerValueQueue.ExecuteWhileWaiting<E>| Modifier and Type | Field and Description |
|---|---|
static int |
TIME_WAIT_PUT |
static TimeUnit |
TIME_WAIT_PUT_UNIT |
DEFAULT_WAIT_INTERVAL, DEFAULT_WAIT_INTERVAL_UNIT| Constructor and Description |
|---|
DeprecatedWorkerValueQueue(int maxSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
clearValueTaken(int workerNumber) |
Object |
executeOnTakenValues(WorkerValueQueue.ExecuteOnTaken<E> exec) |
boolean |
isValueTakenOrQueueNotEmpty() |
void |
put(E value) |
boolean |
put(E value,
WorkerValueQueue.ExecuteWhileWaiting<E> exec) |
void |
stop() |
E |
take(int workerNumber) |
void |
waitUntilEmpty(long time,
TimeUnit timeUnit,
WorkerValueQueue.ExecuteWhileWaiting exec) |
waitUntilEmpty, waitUntilEmptypublic static final int TIME_WAIT_PUT
public static final TimeUnit TIME_WAIT_PUT_UNIT
public Object executeOnTakenValues(WorkerValueQueue.ExecuteOnTaken<E> exec)
public void stop()
public E take(int workerNumber)
public void clearValueTaken(int workerNumber)
public void put(E value)
put in interface WorkerValueQueue<E>put in class AbstractWorkerValueQueue<E>public boolean put(E value, WorkerValueQueue.ExecuteWhileWaiting<E> exec)
public void waitUntilEmpty(long time,
TimeUnit timeUnit,
WorkerValueQueue.ExecuteWhileWaiting exec)
public void clear()
public boolean isValueTakenOrQueueNotEmpty()
Copyright © 2017 SAP SE. All Rights Reserved.