| Package | Description | 
|---|---|
| org.daisy.common.priority | Provides a flexible execution service based on priorities that allows to interact with the execution queue in realtime. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ForwardingPrioritableRunnable<T> | 
| Modifier and Type | Method and Description | 
|---|---|
| PrioritizableRunnable<T> | ForwardingPrioritableRunnable. getDelegate() | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<PrioritizableRunnable<T>> | UpdatablePriorityBlockingQueue. asCollection()Returns the runnables as an immutable  Collectionwithout maintaining the order given by the priority | 
| Collection<PrioritizableRunnable<T>> | UpdatablePriorityBlockingQueue. asOrderedCollection()Returns the runnables as an immutable  Collectionmaintaining the order given by the priority | 
| Modifier and Type | Method and Description | 
|---|---|
| int | PrioritizableComparator. compare(PrioritizableRunnable<?> arg0,
       PrioritizableRunnable<?> arg1) | 
| int | PrioritizableComparator. compare(PrioritizableRunnable<?> arg0,
       PrioritizableRunnable<?> arg1) | 
| double | PriorityCalculator. getPriority(PrioritizableRunnable<T> runnable) | 
| void | UpdatablePriorityBlockingQueue. swap(PrioritizableRunnable<T> runnable1,
    PrioritizableRunnable<T> runnable2)Swap the priorities of both PrioritizableRunnable objects to change the 
 order in the queue | 
| void | UpdatablePriorityBlockingQueue. swap(PrioritizableRunnable<T> runnable1,
    PrioritizableRunnable<T> runnable2)Swap the priorities of both PrioritizableRunnable objects to change the 
 order in the queue | 
| protected Optional<org.daisy.common.priority.SwappingPriority<T>> | UpdatablePriorityBlockingQueue. tryFind(PrioritizableRunnable<T> runnable)Tries to find the runnable among the elements in the queue. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | UpdatablePriorityBlockingQueue. update(Function<PrioritizableRunnable<T>,Void> function)Applies the function to all the elements in the queue. | 
| Constructor and Description | 
|---|
| ForwardingPrioritableRunnable(PrioritizableRunnable<T> delegate) | 
Copyright © 2010–2025 The DAISY Consortium. All rights reserved.