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 voidvoidcompleteWithCancel(Future<T> future) voidcompleteWithException(Future<T> future, Throwable throwable) voidcompleteWithResult(Future<T> future, T result)
-
Constructor Details
-
BaseFutureListener
public BaseFutureListener()
-
-
Method Details
-
complete
- Specified by:
completein interfaceFutureListener<T>
-
completeWithCancel
-
completeWithException
-
completeWithResult
-