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.slf4j.Logger LOGGER
    • MAX_SHUTDOWN_TIME

      private static final long MAX_SHUTDOWN_TIME
      See Also:
    • SHUTDOWN_STATUS

      private static final int SHUTDOWN_STATUS
      See Also:
    • server

      private final DedicatedServer server
    • maxTickTimeNanos

      private final long maxTickTimeNanos
  • Constructor Details

  • Method Details

    • run

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

      private void exit()