Class ComplexFlatMapExample

java.lang.Object
software.amazon.lambda.durable.DurableHandler<Integer,String>
software.amazon.lambda.durable.examples.map.ComplexFlatMapExample
All Implemented Interfaces:
com.amazonaws.services.lambda.runtime.RequestStreamHandler

public class ComplexFlatMapExample extends DurableHandler<Integer,String>
Example demonstrating advanced map features: wait operations inside branches, error handling, and early termination.
  1. Concurrent map with step + wait + step inside each branch — simulates multi-stage order processing with a cooldown between stages
  2. Early termination with minSuccessful(2) — finds 2 healthy servers then stops
  • Constructor Details

    • ComplexFlatMapExample

      public ComplexFlatMapExample()
  • Method Details