Interface ProcessSafeOperation<R,T extends java.lang.Throwable>
-
public interface ProcessSafeOperation<R,T extends java.lang.Throwable>
ProcessState
safe operation.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
run()
Contains the logic requiringProcessState
safety.
-
-
-
Method Detail
-
run
R run() throws T extends java.lang.Throwable
Contains the logic requiringProcessState
safety.- Returns:
- Optional return value from operation.
- Throws:
T
- PossibleEscalation
.T extends java.lang.Throwable
-
-