Class WarmUpProviderRegistrationTask
java.lang.Object
java.util.concurrent.ForkJoinTask<Void>
java.util.concurrent.RecursiveAction
software.amazon.awssdk.codegen.emitters.GeneratorTask
software.amazon.awssdk.codegen.emitters.WarmUpProviderRegistrationTask
- All Implemented Interfaces:
Serializable,Future<Void>
Appends a generated
SdkWarmUpProvider implementation's fully-qualified class name to the shared
META-INF/services/software.amazon.awssdk.core.warmup.SdkWarmUpProvider resource file.
This task writes a plain resource file rather than a .java file, so it does not use
SimpleGeneratorTask. It creates the file once and appends to it for each subsequent service, and
re-registering the same class name is a no-op.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWarmUpProviderRegistrationTask(String resourcesDirectory, String providerClassName) -
Method Summary
Methods inherited from class java.util.concurrent.RecursiveAction
getRawResultMethods inherited from class java.util.concurrent.ForkJoinTask
adapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, complete, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnfork
-
Constructor Details
-
WarmUpProviderRegistrationTask
-
-
Method Details
-
compute
public void compute()
-