Class GenericThread

java.lang.Object
net.minecraft.server.rcon.thread.GenericThread
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
QueryThreadGs4, RconClient, RconThread

public abstract class GenericThread extends Object implements Runnable
  • Field Details

    • LOGGER

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

      private static final AtomicInteger UNIQUE_THREAD_ID
    • MAX_STOP_WAIT

      private static final int MAX_STOP_WAIT
      See Also:
      Constant Field Values
    • running

      protected volatile boolean running
    • name

      protected final String name
    • thread

      @Nullable protected Thread thread
  • Constructor Details

    • GenericThread

      protected GenericThread(String p_11522_)
  • Method Details

    • start

      public boolean start()
    • stop

      public void stop()
    • isRunning

      public boolean isRunning()