Interface Work

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void doWork()
      This method denotes the actual work that is done by the work item.
      long getEnqueueTime()
      This methods gets the time in millis in the work item, when this work item was enqueued in the work queue.
      java.lang.String getName()
      This method will return the name of the work item.
      void setEnqueueTime​(long timeInMillis)
      This methods sets the time in millis in the work item, when this work item was enqueued in the work queue.
    • Method Detail

      • doWork

        void doWork()
        This method denotes the actual work that is done by the work item.
      • setEnqueueTime

        void setEnqueueTime​(long timeInMillis)
        This methods sets the time in millis in the work item, when this work item was enqueued in the work queue.
      • getEnqueueTime

        long getEnqueueTime()
        This methods gets the time in millis in the work item, when this work item was enqueued in the work queue.
      • getName

        java.lang.String getName()
        This method will return the name of the work item.