| 程序包 | 说明 |
|---|---|
| com.alibaba.dubbo.common.concurrent |
| 限定符和类型 | 方法和说明 |
|---|---|
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. |
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.