Class InvokeOperation<T,U>

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

public class InvokeOperation<T,U> extends BaseDurableOperation<T>
  • Constructor Details

  • Method Details

    • start

      protected void start()
      Starts the operation.
      Specified by:
      start in class BaseDurableOperation<T>
    • replay

      protected void replay(software.amazon.awssdk.services.lambda.model.Operation existing)
      Replays the operation.
      Specified by:
      replay in class BaseDurableOperation<T>
    • get

      public T get()
      Blocks until the operation completes and returns the result.
      Returns:
      the operation result