Interface IComputation<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getKey()
The computation identifier.com.google.common.util.concurrent.FutureCallback<Object>
getPostTreatment()
Post-treatment.
-
-
-
Method Detail
-
getKey
T getKey()
The computation identifier.- Returns:
- The computation identifier.
-
getPostTreatment
com.google.common.util.concurrent.FutureCallback<Object> getPostTreatment()
Post-treatment.- Returns:
- The post-tretament to run when this computation is over, whatever its outcome. This should be
called by the "framework" in a finally clause to guarantee it is always executed. It is allowed
for implementors to return
null
.
-
-