Package software.amazon.awssdk.core.internal.warmup
package software.amazon.awssdk.core.internal.warmup
-
ClassDescription
WarmUpInvokerimplementation that usesServiceLoaderto findSdkWarmUpProviderimplementations on the classpath and invokeswarmUp()on every one of them.Resolves the endpoint used by the CRaC HTTP-client warm-up.Warms only the service clients named bySdkWarmUp.warmUp(Class...).Outcome of aTargetedWarmUpInvokerrun: the client types that matched and the client names that warmed successfully.Tracks which service clientsSdkWarmUp.warmUp(Class...)has already warmed, so each is warmed at most once per JVM.Tracks whether each HTTP client type has been warmed, soSdkWarmUp.warmUp(Class...)warms each at most once per JVM.Shared best-effort helpers for the CRaC warm-up paths:ServiceLoaderiteration and running a single warm-up task without letting its failure stop the others.DiscoversSdkWarmUpProviders and invokes their warm-up behind the publicSdkWarmUp.warmUp().