| Package | Description |
|---|---|
| tech.mlsql.common.utils.concurrent |
| Modifier and Type | Method and Description |
|---|---|
static <V> ListenableFutureTask<V> |
ListenableFutureTask.create(Callable<V> callable)
Creates a
ListenableFutureTask that will upon running, execute the
given Callable. |
static <V> ListenableFutureTask<V> |
ListenableFutureTask.create(Runnable runnable,
V result)
Creates a
ListenableFutureTask that will upon running, execute the
given Runnable, and arrange that get will return the
given result on successful completion. |
protected <T> ListenableFutureTask<T> |
AbstractListeningExecutorService.newTaskFor(Callable<T> callable) |
protected <T> ListenableFutureTask<T> |
AbstractListeningExecutorService.newTaskFor(Runnable runnable,
T value) |
Copyright © 2020. All rights reserved.