-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State
-
Method Summary
void
Notify about the failure, occurred during asynchronous operation execution.
Get current result value without any blocking.
void
Set the result value and notify about operation completion.
-
Method Details
-
getResult
Get current result value without any blocking.
- Returns:
- current result value without any blocking.
-
result
Set the result value and notify about operation completion.
- Parameters:
result - the result value
-
failure
Notify about the failure, occurred during asynchronous operation execution.
- Parameters:
failure -