Class LegacyToNonLegacyAdapter

java.lang.Object
software.amazon.awssdk.core.internal.waiters.LegacyToNonLegacyAdapter
All Implemented Interfaces:
BackoffStrategy

public class LegacyToNonLegacyAdapter extends Object implements BackoffStrategy
  • Constructor Details

    • LegacyToNonLegacyAdapter

      public LegacyToNonLegacyAdapter(BackoffStrategy adaptee)
  • Method Details

    • computeDelay

      public Duration computeDelay(int attempt)
      Description copied from interface: BackoffStrategy
      Compute the amount of time to wait before the provided attempt number is executed.
      Specified by:
      computeDelay in interface BackoffStrategy
      Parameters:
      attempt - The attempt to compute the delay for, starting at one.
    • adaptee

      public BackoffStrategy adaptee()