java.lang.Object
jdk.crac.Core
The coordination service.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Requests checkpoint and returns upon a successful restore.Gets the globalContext
for checkpoint/restore notifications.
-
Method Details
-
getGlobalContext
Gets the globalContext
for checkpoint/restore notifications.- Returns:
- the global
Context
-
checkpointRestore
Requests checkpoint and returns upon a successful restore. May throw an exception if the checkpoint or restore are unsuccessful.- Throws:
CheckpointException
- if an exception occured during checkpoint notification and the execution continues in the original Java instance.RestoreException
- if an exception occured during restore notification and execution continues in a new Java instance.UnsupportedOperationException
- if checkpoint/restore is not supported, no notification performed and the execution continues in the original Java instance.
-