Interface TaskStateAware

  • All Known Implementing Classes:
    ConcurrentScannerTaskExecuter

    public interface TaskStateAware
    This interface is implemented by a class that maintains the state of tasks. The state of the task is reported through the methods of this interface.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void failed​(java.lang.String uuid)
      The task failed.
      void started​(java.lang.String uuid)  
      void succeeded​(java.lang.String uuid)
      The task completed successfully.
    • Method Detail

      • started

        void started​(java.lang.String uuid)
        Parameters:
        uuid -
      • succeeded

        void succeeded​(java.lang.String uuid)
        The task completed successfully.
        Parameters:
        uuid -
      • failed

        void failed​(java.lang.String uuid)
        The task failed.
        Parameters:
        uuid -