Class AbstractSessionTask

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<org.tentackle.task.Task>, java.lang.Runnable, org.tentackle.task.Task

    public abstract class AbstractSessionTask
    extends org.tentackle.task.AbstractTask
    A task being executed by the SessionTaskDispatcher.
    Author:
    harald
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Session getSession()
      Gets the db the runnable must use.
      void setSession​(Session session)
      Sets the db.
      Done by SessionTaskDispatcher.
      • Methods inherited from class org.tentackle.task.AbstractTask

        addTaskListener, compareTo, equals, fireCompleted, fireStarted, getCause, getCompleted, getDispatcher, getId, getRepeatInterval, getResult, getScheduledEpochalTime, getStarted, hashCode, isInterruptable, removeTaskListener, setCause, setCompleted, setDispatcher, setId, setRepeatInterval, setResult, setScheduledEpochalTime, setStarted
      • Methods inherited from class java.lang.Object

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

        run
    • Constructor Detail

      • AbstractSessionTask

        public AbstractSessionTask()
    • Method Detail

      • getSession

        public Session getSession()
        Gets the db the runnable must use.
        Returns:
        the db