Class ReconfigurationTaskStatus

java.lang.Object
org.apache.hadoop.conf.ReconfigurationTaskStatus

@LimitedPrivate({"HDFS","Management Tools"}) @Unstable public class ReconfigurationTaskStatus extends Object
  • Constructor Details

  • Method Details

    • hasTask

      public boolean hasTask()
      Return true if - A reconfiguration task has finished or - an active reconfiguration task is running.
      Returns:
      true if startTime > 0; false if not.
    • stopped

      public boolean stopped()
      Return true if the latest reconfiguration task has finished and there is no another active task running.
      Returns:
      true if endTime > 0; false if not.
    • getStartTime

      public long getStartTime()
    • getEndTime

      public long getEndTime()
    • getStatus