Package io.quarkus.deployment
Class SnapStartConfig
java.lang.Object
io.quarkus.deployment.SnapStartConfig
Configure the various optimization to use
SnapStart
-
Field Summary
Modifier and TypeFieldDescriptionEnable/Disable SnapStart integration(package private) boolean
Start the full application during the snapshotting process.(package private) boolean
When SnapStart is enabled, it generates the application class list, so it can be preloaded.(package private) boolean
if preloading classes, specify whether to do static initialization when preloading these classes.(package private) boolean
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
-
Method Summary
-
Field Details
-
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
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
if preloading classes, specify whether to do static initialization when preloading these classes. -
fullWarmup
Start the full application during the snapshotting process. In other words, when enabled, it performsApplication.start()
within SnapStart/CRaCbeforeCheckpoint()
phase. -
generateApplicationClassList
When SnapStart is enabled, it generates the application class list, so it can be preloaded. Only used ifpreloadClasses
is set totrue
.
-
-
Constructor Details
-
SnapStartConfig
public SnapStartConfig()
-