Class ThreadHandler

  • Direct Known Subclasses:

    public abstract class ThreadHandler
    extends Object
    A convenience class which can be used as a base class for when specific actions need to be done before or after a thread has run. cleaning up certain threadlocals.
    • Constructor Detail

      • ThreadHandler

        public ThreadHandler()
    • Method Detail

      • run

        public void run()
        Run the thread, this method will call the protected methods doBefore, doAction and doFinal.
      • doFinal

        protected abstract void doFinal​(boolean errorOccured)