Enum Class NestingType

java.lang.Object
java.lang.Enum<NestingType>
software.amazon.lambda.durable.config.NestingType
All Implemented Interfaces:
Serializable, Comparable<NestingType>, Constable

public enum NestingType extends Enum<NestingType>
  • Enum Constant Details

    • NESTED

      public static final NestingType NESTED
      Create CONTEXT operations for each branch/iteration with full checkpointing. Operations within each branch/iteration are wrapped in their own context. - **Observability**: High - each branch/iteration appears as separate operation in execution history - **Cost**: Higher - consumes more operations due to CONTEXT creation overhead - **Scale**: Lower maximum iterations due to operation limits
    • FLAT

      public static final NestingType FLAT
      Skip CONTEXT operations for branches/iterations using virtual contexts. Operations execute directly without individual context wrapping. - **Observability**: Lower - branches/iterations don't appear as separate operations - **Cost**: ~30% lower - reduces operation consumption by skipping CONTEXT overhead - **Scale**: Higher maximum iterations possible within operation limits
  • Method Details

    • values

      public static NestingType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static NestingType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null