Package io.quarkus.deployment
Class SnapStartConfig
- java.lang.Object
-
- io.quarkus.deployment.SnapStartConfig
-
@ConfigRoot(phase=BUILD_TIME, name="snapstart") public class SnapStartConfig extends Object
Configure the various optimization to use SnapStart
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Optional<Boolean>
enable
Enable/Disable SnapStart integration(package private) boolean
fullWarmup
Start the full application during the snapshotting process.(package private) boolean
generateApplicationClassList
When SnapStart is enabled, it generates the application class list, so it can be preloaded.(package private) boolean
initializeClasses
if preloading classes, specify whether to do static initialization when preloading these classes.(package private) boolean
preloadClasses
Will do a classpath search for allMETA-INF/quarkus-preload-classes.txt
files These files contain fully qualified classnames that should be loaded in the SnapStart/CRaCbeforeCheckpoint()
phase.
-
Constructor Summary
Constructors Constructor Description SnapStartConfig()
-
-
-
Field Detail
-
enable
@ConfigItem Optional<Boolean> enable
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)
-
preloadClasses
@ConfigItem(defaultValue="true") boolean preloadClasses
Will do a classpath search for allMETA-INF/quarkus-preload-classes.txt
files These files contain fully qualified classnames that should be loaded in the SnapStart/CRaCbeforeCheckpoint()
phase.
-
initializeClasses
@ConfigItem(defaultValue="true") boolean initializeClasses
if preloading classes, specify whether to do static initialization when preloading these classes.
-
fullWarmup
@ConfigItem(defaultValue="true") boolean fullWarmup
Start the full application during the snapshotting process. In other words, when enabled, it performsApplication.start()
within SnapStart/CRaCbeforeCheckpoint()
phase.
-
generateApplicationClassList
@ConfigItem(defaultValue="true") boolean generateApplicationClassList
When SnapStart is enabled, it generates the application class list, so it can be preloaded. Only used ifpreloadClasses
is set totrue
.
-
-