Package com.liferay.petra.concurrent
Class BaseFutureListener<T>
java.lang.Object
com.liferay.petra.concurrent.BaseFutureListener<T>
- All Implemented Interfaces:
FutureListener<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
void
completeWithCancel
(Future<T> future) void
completeWithException
(Future<T> future, Throwable throwable) void
completeWithResult
(Future<T> future, T result)
-
Constructor Details
-
BaseFutureListener
public BaseFutureListener()
-
-
Method Details
-
complete
- Specified by:
complete
in interfaceFutureListener<T>
-
completeWithCancel
-
completeWithException
-
completeWithResult
-