Interface SyncExecutionInternal<R>

Type Parameters:
R - result type
All Superinterfaces:
Execution<R>, ExecutionContext<R>, ExecutionInternal<R>
All Known Implementing Classes:
SyncExecutionImpl

public interface SyncExecutionInternal<R> extends ExecutionInternal<R>, Execution<R>
Internal execution APIs.
  • Method Details

    • isInterrupted

      boolean isInterrupted()
      Returns whether the execution is currently interrupted.
    • setInterruptable

      void setInterruptable(boolean interruptable)
      Sets whether the execution is currently interruptable.
    • interrupt

      void interrupt()
      Interrupts the execution.
    • copy

      Returns a new copy of the SyncExecutionInternal if it is not standalone, else returns this since standalone executions are referenced externally and cannot be replaced.