spierce7
02/07/2024, 7:27 PMLuca
04/18/2024, 12:59 PMspierce7
04/18/2024, 1:00 PMLuca
04/18/2024, 1:01 PMspierce7
04/18/2024, 1:02 PMLuca
04/18/2024, 1:19 PMspierce7
04/18/2024, 1:21 PMWhen theJVM system property is set, a checkpoint is created automatically at startup during the-Dspring.context.checkpoint=onRefresh
phase. After this phase has completed, all non-lazy initialized singletons have been instantiated, andLifecycleProcessor.onRefresh
callbacks have been invoked; but the lifecycle has not started, and theInitializingBean#afterPropertiesSet
has not yet been published.ContextRefreshedEvent
spierce7
04/18/2024, 1:22 PMspierce7
04/18/2024, 1:24 PMpublic static final String CHECKPOINT_PROPERTY_NAME = "spring.context.checkpoint";
private static final boolean checkpointOnRefresh =
ON_REFRESH_VALUE.equalsIgnoreCase(SpringProperties.getProperty(CHECKPOINT_PROPERTY_NAME));
if (checkpointOnRefresh) {
new CracDelegate().checkpointRestore();
}
spierce7
04/18/2024, 1:24 PMLuca
04/18/2024, 1:31 PMspierce7
04/18/2024, 1:31 PMspierce7
04/18/2024, 1:31 PMspierce7
04/18/2024, 1:32 PMLuca
04/18/2024, 3:46 PMspierce7
04/22/2024, 11:49 PMLuca
04/22/2024, 11:51 PM