Class RConThread

  • All Implemented Interfaces:
    java.lang.Runnable
    Direct Known Subclasses:
    ClientThread, MainThread, QueryThread

    public abstract class RConThread
    extends java.lang.Object
    implements java.lang.Runnable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static org.apache.logging.log4j.Logger LOGGER  
      protected java.lang.String name  
      protected boolean running  
      protected java.lang.Thread thread  
      private static java.util.concurrent.atomic.AtomicInteger UNIQUE_THREAD_ID  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected RConThread​(java.lang.String p_i231426_1_)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isRunning()  
      boolean start()  
      void stop()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Runnable

        run
    • Field Detail

      • LOGGER

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

        private static final java.util.concurrent.atomic.AtomicInteger UNIQUE_THREAD_ID
      • running

        protected volatile boolean running
      • name

        protected final java.lang.String name
      • thread

        @Nullable
        protected java.lang.Thread thread
    • Constructor Detail

      • RConThread

        protected RConThread​(java.lang.String p_i231426_1_)
    • Method Detail

      • start

        public boolean start()
      • stop

        public void stop()
      • isRunning

        public boolean isRunning()