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

    • execute

      public void execute()
      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()
      Blocks until the operation completes and returns the result.
      Returns:
      the operation result