Package io.quarkus.deployment
Interface SnapStartConfig
@ConfigMapping(prefix="quarkus.snapstart")
@ConfigRoot(phase=BUILD_TIME)
public interface SnapStartConfig
SnapStart
Configure the various optimization to use SnapStart
-
Method Summary
Modifier and TypeMethodDescriptionenable()Deprecated, for removal: This API element is subject to removal in a future version.enabled()Enable/Disable SnapStart integrationbooleanStart the full application during the snapshotting process.booleanWhen SnapStart is enabled, it generates the application class list, so it can be preloaded.booleanif preloading classes, specify whether to do static initialization when preloading these classes.booleanWill do a classpath search for allMETA-INF/quarkus-preload-classes.txtfiles These files contain fully qualified classnames that should be loaded in the SnapStart/CRaCbeforeCheckpoint()phase.
-
Method Details
-
enabled
Enable/Disable SnapStart integrationDefault value is dependent on extensions deployed (i.e. when using AWS Lambda extensions, this will be set to true by default)
-
enable
Deprecated, for removal: This API element is subject to removal in a future version.usequarkus.snapstart.enabledinsteadEnable/Disable SnapStart integrationDefault value is dependent on extensions deployed (i.e. when using AWS Lambda extensions, this will be set to true by default)
-
preloadClasses
@WithDefault("true") boolean preloadClasses()Will do a classpath search for allMETA-INF/quarkus-preload-classes.txtfiles These files contain fully qualified classnames that should be loaded in the SnapStart/CRaCbeforeCheckpoint()phase. -
initializeClasses
@WithDefault("true") boolean initializeClasses()if preloading classes, specify whether to do static initialization when preloading these classes. -
fullWarmup
@WithDefault("true") boolean fullWarmup()Start the full application during the snapshotting process. In other words, when enabled, it performsApplication.start()within SnapStart/CRaCbeforeCheckpoint()phase. -
generateApplicationClassList
@WithDefault("true") boolean generateApplicationClassList()When SnapStart is enabled, it generates the application class list, so it can be preloaded. Only used ifpreloadClasses()is set totrue.
-
quarkus.snapstart.enabledinstead