Class Jigawatts
java.lang.Object
com.redhat.jigawatts.Jigawatts
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprivate voidstatic void(package private) static void(package private) static voidstatic voidstatic voidreadRestoreHooks(String dir) static voidstatic voidstatic voidrestoreTheWorld(String dir) private voidstatic voidsaveTheWorld(String dir) static voidsaveTheWorld(String dir, boolean leaveRunning) private voidsaveTheWorldNative(String dir, boolean leaveRunning) static voidwriteRestoreHooks(String dir)
-
Field Details
-
crContext
-
checkpointHooks
-
restoreHooks
-
-
Constructor Details
-
Jigawatts
public Jigawatts()
-
-
Method Details
-
cleanupTheWorld
public static void cleanupTheWorld() -
checkTheWorldNative
private void checkTheWorldNative() -
saveTheWorldNative
-
restoreTheWorldNative
-
checkTheWorld
public static void checkTheWorld() -
saveTheWorld
- Throws:
IOException
-
saveTheWorld
- Throws:
IOException
-
writeRestoreHooks
- Throws:
IOException
-
readRestoreHooks
- Throws:
IOException
-
restoreTheWorld
- Throws:
IOException
-
registerCheckpointHook
-
registerRestoreHook
-
clearCheckpointHooks
static void clearCheckpointHooks() -
clearRestoreHooks
static void clearRestoreHooks() -
getCheckpointHooks
-
getRestoreHooks
-
main
-