Class ThreadPoolTask

    • Constructor Detail

      • ThreadPoolTask

        public ThreadPoolTask()
    • Method Detail

      • setTaskState

        public void setTaskState​(java.lang.String state)
      • getTaskState

        public java.lang.String getTaskState()
      • getName

        public java.lang.String getName()
      • interruptTask

        public abstract void interruptTask()
      • taskStarted

        public void taskStarted()
      • taskCompleted

        public void taskCompleted()
      • join

        final void join()
        only invoke this method after the first run of the threadpooltask as it is only meant to join on a task when it has child tasks and thus is running in manual release mode
      • setManualRelease

        final void setManualRelease()
      • canManualRelease

        final boolean canManualRelease()
      • isAutoReleaseAndAllowManual

        final boolean isAutoReleaseAndAllowManual()
        only invoke this method after the first run of the threadpooltask as it is only meant to update the state of a task when it has child tasks and thus is running in manual release mode
      • releaseToPool

        public final void releaseToPool()