Interface ThreadSafeOperation<R,T extends Throwable>

All Known Subinterfaces:
ProcessSafeOperation<R,T>

public interface ThreadSafeOperation<R,T extends Throwable>
ThreadState safe operation.
Author:
Daniel Sagenschneider
  • Method Summary

    Modifier and Type
    Method
    Description
    run()
    Contains the logic requiring ThreadState safety.
  • Method Details

    • run

      R run() throws T
      Contains the logic requiring ThreadState safety.
      Returns:
      Optional return value from operation.
      Throws:
      T - Possible Escalation.