Class Jigawatts

java.lang.Object
com.redhat.jigawatts.Jigawatts

public class Jigawatts extends Object
  • Field Details

    • crContext

      private static final Jigawatts crContext
    • checkpointHooks

      private static final List<Hook> checkpointHooks
    • restoreHooks

      private static final List<Hook> restoreHooks
  • Constructor Details

    • Jigawatts

      public Jigawatts()
  • Method Details

    • cleanupTheWorld

      public static void cleanupTheWorld()
    • checkTheWorldNative

      private void checkTheWorldNative()
    • saveTheWorldNative

      private void saveTheWorldNative(String dir, boolean leaveRunning)
    • restoreTheWorldNative

      private void restoreTheWorldNative(String dir)
    • checkTheWorld

      public static void checkTheWorld()
    • saveTheWorld

      public static void saveTheWorld(String dir, boolean leaveRunning) throws IOException
      Throws:
      IOException
    • saveTheWorld

      public static void saveTheWorld(String dir) throws IOException
      Throws:
      IOException
    • writeRestoreHooks

      public static void writeRestoreHooks(String dir) throws IOException
      Throws:
      IOException
    • readRestoreHooks

      public static void readRestoreHooks(String dir) throws IOException
      Throws:
      IOException
    • restoreTheWorld

      public static void restoreTheWorld(String dir) throws IOException
      Throws:
      IOException
    • registerCheckpointHook

      public static void registerCheckpointHook(Hook h)
    • registerRestoreHook

      public static void registerRestoreHook(Hook h)
    • clearCheckpointHooks

      static void clearCheckpointHooks()
    • clearRestoreHooks

      static void clearRestoreHooks()
    • getCheckpointHooks

      static List<Hook> getCheckpointHooks()
    • getRestoreHooks

      static List<Hook> getRestoreHooks()
    • main

      public static void main(String... args)