Interface ServerTask

All Known Implementing Classes:
ServerTaskBuilder.ServerTaskImpl

@Public public interface ServerTask
Information about active monitored server tasks
  • Method Details

    • getDescription

      Get the task's description.
      Returns:
      the task's description, typically a name
    • getStatus

      Get the current status of the task.
      Returns:
      the task's current status
    • getState

      Get the current state of the task.
      Returns:
      the task's current state
    • getStartTime

      long getStartTime()
      Get the task start time.
      Returns:
      the time when the task started, or 0 if it has not started yet
    • getCompletionTime

      Get the task completion time.
      Returns:
      the time when the task completed, or 0 if it has not completed yet