Class DefaultDelayingQueue<T>
java.lang.Object
io.micronaut.kubernetes.client.openapi.operator.workqueue.DefaultWorkQueue<T>
io.micronaut.kubernetes.client.openapi.operator.workqueue.DefaultDelayingQueue<T>
- Type Parameters:
T- item type
- All Implemented Interfaces:
DelayingQueue<T>, WorkQueue<T>
- Direct Known Subclasses:
DefaultRateLimitingQueue
The default delaying queue implementation.
The code has been copied from the official client and modified: DefaultDelayingQueue
-
Constructor Details
-
DefaultDelayingQueue
-
-
Method Details
-
start
-
shutdown
-
addAfter
Adds given item to the queue after given duration expires.- Specified by:
addAfterin interfaceDelayingQueue<T>- Parameters:
item- item to addduration- specific duration
-