Class TargetedWarmUpInvoker

java.lang.Object
software.amazon.awssdk.core.internal.warmup.TargetedWarmUpInvoker

@SdkInternalApi public final class TargetedWarmUpInvoker extends Object
Warms only the service clients named by SdkWarmUp.warmUp(Class...). Matches each requested client class name against the discovered SdkWarmUpProviders' sync and async class names, then warms the matched client type only.
  • Method Details

    • create

      public static TargetedWarmUpInvoker create()
    • invoke

      public TargetedWarmUpResult invoke(Collection<String> requestedClassNames)
      Warms the provider client type matching each requested client class name. An unmatched name is logged at warn and skipped, and a provider that fails does not stop the others.
      Parameters:
      requestedClassNames - the fully qualified sync or async client class names to warm.
      Returns:
      the matched client types and the names that warmed successfully.