Class ActionWorker<R,​P>

    • Constructor Detail

      • ActionWorker

        public ActionWorker​(String actionLabel)
      • ActionWorker

        public ActionWorker​(String actionLabel,
                            Runnable target)
    • Method Detail

      • setTarget

        public void setTarget​(Callable<R> target)
        Set the target to execute.
        Parameters:
        target - the target to execute
        Since:
        2.5.1
      • setTarget

        public void setTarget​(Runnable target)
      • isFailed

        public boolean isFailed()
      • getActionLabel

        public String getActionLabel()
      • getTime

        public String getTime()
      • getStartTime

        public long getStartTime()
      • getEndTime

        public long getEndTime()