Class ServerWatchdog

java.lang.Object
net.minecraft.server.dedicated.ServerWatchdog
All Implemented Interfaces:
Runnable

public class ServerWatchdog extends Object implements Runnable
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • MAX_SHUTDOWN_TIME

      private static final long MAX_SHUTDOWN_TIME
      See Also:
      Constant Field Values
    • SHUTDOWN_STATUS

      private static final int SHUTDOWN_STATUS
      See Also:
      Constant Field Values
    • server

      private final DedicatedServer server
    • maxTickTime

      private final long maxTickTime
  • Constructor Details

  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • exit

      private void exit()