Class JvmUtil.TerminateBuilder

  • Enclosing class:
    JvmUtil

    public static class JvmUtil.TerminateBuilder
    extends Object
    Builder to terminate the JVM
    • Constructor Detail

      • TerminateBuilder

        public TerminateBuilder()
    • Method Detail

      • threaded

        public JvmUtil.TerminateBuilder threaded​(boolean threaded)
        Starts the termination in a separate thread or blocking, default is true.
      • in

        public void in​(String time)
        Stops the JVM in the specified time
      • now

        public void now()
        Stops the JVM immediately
      • shutdown

        protected void shutdown​(String time)
      • getMessage

        protected String getMessage()
      • shutdownFinal

        protected void shutdownFinal​(String time)