Coordinated Restore at Checkpoint

This feature enables the org.crac Coordinated Restore at Checkpoint APIs.

These APIs integrate with the Liberty InstantOn support.

The org.crac package provides APIs for receiving checkpoint/restore notifications. These notifications enable applications to perform actions before they checkpoint an application process and after they restore the application process. For example, this package allows Spring-based applications to support checkpoint and restore. The use of org.crac is not limited to Spring-based applications. Any application that runs on Liberty can choose to receive checkpoint/restore notifications by enabling this feature.

Enabling this feature

To enable the Coordinated Restore at Checkpoint 1.4 feature, add the following element declaration into your server.xml file, inside the featureManager element:


Stable API packages provided by this feature

  • org.crac


Supported Java versions

  • JavaSE-1.8

  • JavaSE-11.0

  • JavaSE-17.0

  • JavaSE-21.0

  • JavaSE-22.0

Developing a feature that depends on this feature

If you are developing a feature that depends on this feature, include the following item in the Subsystem-Content header in your feature manifest file.

io.openliberty.crac-1.4; type="osgi.subsystem.feature"