public class CallableQueueService.CallableWrapper<E> extends PriorityDelayQueue.QueueElement<E> implements java.lang.Runnable, java.util.concurrent.Callable<E>
| Constructor and Description |
|---|
CallableQueueService.CallableWrapper(XCallable<E> callable,
long delay) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToUniqueCallables()
Add the keys to the set
|
E |
call() |
boolean |
filterDuplicates()
Filter the duplicate callables from the list before queue this.
|
void |
removeFromUniqueCallables()
Remove the keys from the set
|
void |
run() |
compareTo, getDelay, getElement, getPriority, setDelay, toStringpublic CallableQueueService.CallableWrapper(XCallable<E> callable, long delay)
public void run()
public boolean filterDuplicates()
public void addToUniqueCallables()
public void removeFromUniqueCallables()
Copyright © 2018 Apache Software Foundation. All Rights Reserved.