| Package | Description |
|---|---|
| io.atomix.core.workqueue |
Distributed work processing primitives.
|
| Modifier and Type | Method and Description |
|---|---|
<F> Task<F> |
Task.map(Function<E,F> mapper)
Maps task from one payload type to another.
|
default Task<E> |
WorkQueue.take()
Picks up a single task from the work queue to work on.
|
| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<Task<E>> |
AsyncWorkQueue.take()
Picks up a single task from the work queue to work on.
|
CompletableFuture<Collection<Task<E>>> |
AsyncWorkQueue.take(int maxItems)
Picks up multiple tasks from the work queue to work on.
|
Collection<Task<E>> |
WorkQueue.take(int maxItems)
Picks up multiple tasks from the work queue to work on.
|
Copyright © 2013–2018. All rights reserved.