Class WarmUpProviderSpec
java.lang.Object
software.amazon.awssdk.codegen.poet.warmup.WarmUpProviderSpec
- All Implemented Interfaces:
ClassSpec
Generates an
SdkWarmUpProvider implementation per service.
The warmUpClient(ClientType) body instantiates and closes a synthetic sync client (when the service
generates one) and a synthetic async client, each guarded by the requested ClientType and wired to an
in-memory canned HTTP client, anonymous credentials, a fixed region and a local endpointOverride. Building
the clients JIT-compiles the client construction and configuration-resolution path before a CRaC checkpoint. Each
client also invokes the operation chosen by WarmUpOperationSelector, if any, to warm up the marshalling,
auth-scheme resolution and unmarshalling paths. The syncClientClassName()/asyncClientClassName()
strings let SdkWarmUp.warmUp(Class...) match a requested client class to this provider.
-
Constructor Details
-
WarmUpProviderSpec
-
-
Method Details
-
className
-
poetSpec
-