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