类的使用
com.alibaba.dubbo.common.concurrent.ListenableFutureTask
-
使用ListenableFutureTask的程序包 程序包 说明 com.alibaba.dubbo.common.concurrent -
-
com.alibaba.dubbo.common.concurrent中ListenableFutureTask的使用
返回ListenableFutureTask的com.alibaba.dubbo.common.concurrent中的方法 修饰符和类型 方法 说明 static <V> ListenableFutureTask<V>
ListenableFutureTask. create(Runnable runnable, V result)
Creates aListenableFutureTask
that will upon running, execute the givenRunnable
, and arrange thatget
will return the given result on successful completion.static <V> ListenableFutureTask<V>
ListenableFutureTask. create(Callable<V> callable)
Creates aListenableFutureTask
that will upon running, execute the givenCallable
.
-