Uses of Enum Class
org.apache.hadoop.hdfs.server.namenode.startupprogress.Phase
Packages that use Phase
Package
Description
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 PhaseModifier and TypeMethodDescriptionstatic PhaseReturns 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 PhaseMethods in org.apache.hadoop.hdfs.server.namenode.startupprogress with parameters of type PhaseModifier and TypeMethodDescriptionvoidStartupProgress.beginPhase(Phase phase) Begins execution of the specified phase.voidBegins execution of the specified step within the specified phase.voidEnds execution of the specified phase.voidEnds execution of the specified step within the specified phase.longReturns the sum of the counter values for all steps in the specified phase.longReturns the counter value for the specified phase and step.StartupProgress.getCounter(Phase phase, Step step) Returns a counter associated with the specified phase and step.longStartupProgressView.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.longStartupProgressView.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.Returns the optional file name associated with the specified phase, possibly null.floatStartupProgressView.getPercentComplete(Phase phase) Returns percent complete for the specified phase, calculated by aggregating the counter values and totals for all steps within the phase.floatStartupProgressView.getPercentComplete(Phase phase, Step step) Returns percent complete for the specified phase and step, calculated as counter value divided by total.longReturns the optional size in bytes associated with the specified phase, possibly Long.MIN_VALUE if undefined.Returns the current run status of the specified phase.Returns the current run status of the specified phase.Returns all steps within a phase.longReturns the sum of the totals for all steps in the specified phase.longReturns the total for the specified phase and step.voidSets counter to the specified value.voidSets the optional file name associated with the specified phase.voidSets the optional size in bytes associated with the specified phase.voidSets the total associated with the specified phase and step.