Class ClasspathWarmUpInvoker
java.lang.Object
software.amazon.awssdk.core.internal.warmup.ClasspathWarmUpInvoker
- All Implemented Interfaces:
WarmUpInvoker
WarmUpInvoker implementation that uses ServiceLoader to find SdkWarmUpProvider
implementations on the classpath and invokes warmUp() on every one of them.-
Method Summary
Modifier and TypeMethodDescriptionstatic WarmUpInvokercreate()voidInvokesSdkWarmUpProvider.warmUp()on every discovered provider, containing per-provider failures so one failing provider does not stop the others.
-
Method Details
-
invokeAll
public void invokeAll()Description copied from interface:WarmUpInvokerInvokesSdkWarmUpProvider.warmUp()on every discovered provider, containing per-provider failures so one failing provider does not stop the others.- Specified by:
invokeAllin interfaceWarmUpInvoker
-
create
- Returns:
- ClasspathWarmUpInvoker that discovers
SdkWarmUpProviders from the classpath.
-