public interface DelayingQueue<T> extends WorkQueue<T>
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.
|
void addAfter(T item, java.time.Duration duration)
item
- item to addduration
- specific durationCopyright © 2019. All rights reserved.