public class DefaultDelayingQueue<T> extends DefaultWorkQueue<T> implements DelayingQueue<T>
| Modifier and Type | Field and Description |
|---|---|
static java.time.Duration |
heartBeatInterval |
protected java.util.concurrent.BlockingQueue<io.kubernetes.client.extended.workqueue.DefaultDelayingQueue.WaitForEntry<T>> |
waitingForAddQueue |
| Constructor and Description |
|---|
DefaultDelayingQueue() |
DefaultDelayingQueue(java.util.concurrent.ExecutorService waitingWorker) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAfter(T item,
java.time.Duration duration)
addAfter adds an item to the workqueue after the indicated duration has passed.
|
add, done, get, isShuttingDown, length, shutDownpublic static java.time.Duration heartBeatInterval
protected java.util.concurrent.BlockingQueue<io.kubernetes.client.extended.workqueue.DefaultDelayingQueue.WaitForEntry<T>> waitingForAddQueue
public DefaultDelayingQueue(java.util.concurrent.ExecutorService waitingWorker)
public DefaultDelayingQueue()
public void addAfter(T item, java.time.Duration duration)
DelayingQueueaddAfter in interface DelayingQueue<T>item - item to addduration - specific durationCopyright © 2019. All rights reserved.