Class TargetedWarmUpInvoker
java.lang.Object
software.amazon.awssdk.core.internal.warmup.TargetedWarmUpInvoker
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 Summary
Modifier and TypeMethodDescriptionstatic TargetedWarmUpInvokercreate()invoke(Collection<String> requestedClassNames) Warms the provider client type matching each requested client class name.
-
Method Details
-
create
-
invoke
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.
-