Java com.google.common.util.concurrent SettableFuture fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.util.concurrent SettableFuture fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.util.concurrent SettableFuture.

The text is from its open source code.

Method

voidaddListener(Runnable runnable, Executor executor)
booleancancel(boolean mayInterruptIfRunning)
SettableFuturecreate()
Creates a new SettableFuture that can be completed or cancelled by a later method call.
Vget()
Vget(long timeout, TimeUnit unit)
booleanisCancelled()
booleanisDone()
voidnotifyAll()
Wakes up all threads that are waiting on this object's monitor.
booleanset(@Nullable V value)
booleansetException(Throwable throwable)
booleansetFuture(ListenableFuture future)