Class SoftThread

  • All Implemented Interfaces:
    Runnable

    public abstract class SoftThread
    extends Thread
    • Constructor Detail

      • SoftThread

        public SoftThread​(ThreadGroup iThreadGroup)
      • SoftThread

        public SoftThread​(String name)
    • Method Detail

      • startup

        public void startup()
      • shutdown

        public void shutdown()
      • sendShutdown

        public void sendShutdown()
      • softShutdown

        public void softShutdown()
      • isShutdownFlag

        public boolean isShutdownFlag()
      • run

        public void run()
        Specified by:
        run in interface Runnable
        Overrides:
        run in class Thread
      • pauseCurrentThread

        public static boolean pauseCurrentThread​(long iTime)
        Pauses current thread until iTime timeout or a wake up by another thread.
        Returns:
        true if timeout has reached, otherwise false. False is the case of wake-up by another thread.
      • isDumpExceptions

        public boolean isDumpExceptions()
      • setDumpExceptions

        public void setDumpExceptions​(boolean dumpExceptions)
      • beforeExecution

        protected void beforeExecution()
      • afterExecution

        protected void afterExecution()