Package dev.failsafe

Class ExecutionImpl<R>

java.lang.Object
dev.failsafe.ExecutionImpl<R>
Type Parameters:
R - result type
All Implemented Interfaces:
ExecutionContext<R>, ExecutionInternal<R>
Direct Known Subclasses:
AsyncExecutionImpl, SyncExecutionImpl

class ExecutionImpl<R> extends Object implements ExecutionInternal<R>
Execution and ExecutionInternal implementation.
  • Field Details

  • Constructor Details

    • ExecutionImpl

      ExecutionImpl(List<? extends Policy<R>> policies)
      Creates a new execution for the policies.
    • ExecutionImpl

      ExecutionImpl(ExecutionImpl<R> execution)
      Create an execution for a new attempt.
    • ExecutionImpl

      ExecutionImpl(ExecutionResult<R> previousResult)
      Used for testing purposes only
  • Method Details