Class ServerStatus


  • public class ServerStatus
    extends Object
    • Constructor Detail

      • ServerStatus

        public ServerStatus()
      • ServerStatus

        public ServerStatus​(boolean isLegacy)
    • Method Detail

      • complete

        public void complete​(long taskId)
                      throws IllegalArgumentException
        Removes the task from the collection of currently running tasks.
        Parameters:
        taskId -
        Throws:
        IllegalArgumentException - if there is no task by that taskId in the collection
      • getFilesProcessed

        public long getFilesProcessed()
      • isOperating

        public boolean isOperating()
        Returns:
        true if this is legacy, otherwise whether or not status == OPERATING.