Uses of Enum Class org.apache.hadoop.hdfs.server.namenode.startupprogress.Phase (Apache Hadoop HDFS 3.5.0 API)
Description: use: package: org.apache.hadoop.hdfs.server.namenode.startupprogress, enum: Phase

# Uses of Enum Class
org.apache.hadoop.hdfs.server.namenode.startupprogress.Phase

Packages that use Phase
Package
Description
org.apache.hadoop.hdfs.server.namenode.startupprogress
This package provides a mechanism for tracking NameNode startup progress.

- ## Uses of Phase in org.apache.hadoop.hdfs.server.namenode.startupprogress

  Methods in org.apache.hadoop.hdfs.server.namenode.startupprogress that return Phase
  Modifier and Type
  Method
  Description
  `static Phase`
  Phase.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static Phase[]`
  Phase.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.
  Methods in org.apache.hadoop.hdfs.server.namenode.startupprogress that return types with arguments of type Phase
  Modifier and Type
  Method
  Description
  `Iterable<Phase>`
  StartupProgressView.`getPhases()`
  Returns all phases.
  Methods in org.apache.hadoop.hdfs.server.namenode.startupprogress with parameters of type Phase
  Modifier and Type
  Method
  Description
  `void`
  StartupProgress.`beginPhase(Phase phase)`
  Begins execution of the specified phase.
  `void`
  StartupProgress.`beginStep(Phase phase, Step step)`
  Begins execution of the specified step within the specified phase.
  `void`
  StartupProgress.`endPhase(Phase phase)`
  Ends execution of the specified phase.
  `void`
  StartupProgress.`endStep(Phase phase, Step step)`
  Ends execution of the specified step within the specified phase.
  `long`
  StartupProgressView.`getCount(Phase phase)`
  Returns the sum of the counter values for all steps in the specified phase.
  `long`
  StartupProgressView.`getCount(Phase phase, Step step)`
  Returns the counter value for the specified phase and step.
  `StartupProgress.Counter`
  StartupProgress.`getCounter(Phase phase, Step step)`
  Returns a counter associated with the specified phase and step.
  `long`
  StartupProgressView.`getElapsedTime(Phase phase)`
  Returns elapsed time for the specified phase, calculated as (end - begin) if phase is complete or (now - begin) if phase is running or 0 if the phase is still pending.
  `long`
  StartupProgressView.`getElapsedTime(Phase phase, Step step)`
  Returns elapsed time for the specified phase and step, calculated as (end - begin) if step is complete or (now - begin) if step is running or 0 if the step is still pending.
  `String`
  StartupProgressView.`getFile(Phase phase)`
  Returns the optional file name associated with the specified phase, possibly null.
  `float`
  StartupProgressView.`getPercentComplete(Phase phase)`
  Returns percent complete for the specified phase, calculated by aggregating the counter values and totals for all steps within the phase.
  `float`
  StartupProgressView.`getPercentComplete(Phase phase, Step step)`
  Returns percent complete for the specified phase and step, calculated as counter value divided by total.
  `long`
  StartupProgressView.`getSize(Phase phase)`
  Returns the optional size in bytes associated with the specified phase, possibly Long.MIN_VALUE if undefined.
  `Status`
  StartupProgress.`getStatus(Phase phase)`
  Returns the current run status of the specified phase.
  `Status`
  StartupProgressView.`getStatus(Phase phase)`
  Returns the current run status of the specified phase.
  `Iterable<Step>`
  StartupProgressView.`getSteps(Phase phase)`
  Returns all steps within a phase.
  `long`
  StartupProgressView.`getTotal(Phase phase)`
  Returns the sum of the totals for all steps in the specified phase.
  `long`
  StartupProgressView.`getTotal(Phase phase, Step step)`
  Returns the total for the specified phase and step.
  `void`
  StartupProgress.`setCount(Phase phase, Step step, long count)`
  Sets counter to the specified value.
  `void`
  StartupProgress.`setFile(Phase phase, String file)`
  Sets the optional file name associated with the specified phase.
  `void`
  StartupProgress.`setSize(Phase phase, long size)`
  Sets the optional size in bytes associated with the specified phase.
  `void`
  StartupProgress.`setTotal(Phase phase, Step step, long total)`
  Sets the total associated with the specified phase and step.