Class StepOperation<T>

java.lang.Object
software.amazon.lambda.durable.operation.BaseDurableOperation<T>
software.amazon.lambda.durable.operation.StepOperation<T>
All Implemented Interfaces:
DurableFuture<T>

public class StepOperation<T> extends BaseDurableOperation<T>
  • Constructor Details

  • Method Details

    • execute

      public void execute()
      Description copied from class: BaseDurableOperation
      Starts the operation. Returns immediately after starting background work or checkpointing. Does not block.
      Specified by:
      execute in class BaseDurableOperation<T>
    • get

      public T get()
      Description copied from interface: DurableFuture
      Blocks until the operation completes and returns the result.

      This delegates to operation.get() which handles: - Thread deregistration (allows suspension) - Thread reactivation (resumes execution) - Result retrieval

      Returns:
      the operation result