Class SnapStartConfig

    • 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 all META-INF/quarkus-preload-classes.txt files These files contain fully qualified classnames that should be loaded in the SnapStart/CRaC beforeCheckpoint() phase.
    • Constructor Summary

      Constructors 
      Constructor Description
      SnapStartConfig()  
    • Field Detail

      • enable

        @ConfigItem
        Optional<Boolean> enable
        Enable/Disable SnapStart integration

        Default 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 all META-INF/quarkus-preload-classes.txt files These files contain fully qualified classnames that should be loaded in the SnapStart/CRaC beforeCheckpoint() 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 performs Application.start() within SnapStart/CRaC beforeCheckpoint() phase.
      • generateApplicationClassList

        @ConfigItem(defaultValue="true")
        boolean generateApplicationClassList
        When SnapStart is enabled, it generates the application class list, so it can be preloaded. Only used if preloadClasses is set to true.
    • Constructor Detail

      • SnapStartConfig

        public SnapStartConfig()