public class BaseFutureListener<T> extends java.lang.Object implements FutureListener<T>
Constructor and Description |
---|
BaseFutureListener() |
Modifier and Type | Method and Description |
---|---|
void |
complete(java.util.concurrent.Future<T> future) |
void |
completeWithCancel(java.util.concurrent.Future<T> future) |
void |
completeWithException(java.util.concurrent.Future<T> future,
java.lang.Throwable throwable) |
void |
completeWithResult(java.util.concurrent.Future<T> future,
T result) |
public final void complete(java.util.concurrent.Future<T> future)
complete
in interface FutureListener<T>
public void completeWithCancel(java.util.concurrent.Future<T> future)
public void completeWithException(java.util.concurrent.Future<T> future, java.lang.Throwable throwable)