Class WaitOperation

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

public class WaitOperation extends BaseDurableOperation<Void>
  • Constructor Details

  • Method Details

    • start

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

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

      public Void 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