Class Step
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.startupprogress.Step
- All Implemented Interfaces:
Comparable<Step>
A step performed by the namenode during a
Phase of startup.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Step
Creates a new Step.- Parameters:
type- StepType type of step
-
Step
Creates a new Step.- Parameters:
file- String file
-
Step
Creates a new Step.- Parameters:
file- String filesize- long size in bytes
-
Step
Creates a new Step.- Parameters:
type- StepType type of stepfile- String file
-
Step
Creates a new Step.- Parameters:
type- StepType type of stepfile- String filesize- long size in bytes
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<Step>
-
equals
-
getFile
Returns the optional file name, possibly null.- Returns:
- String optional file name, possibly null
-
getSize
public long getSize()Returns the optional size in bytes, possibly Long.MIN_VALUE if undefined.- Returns:
- long optional size in bytes, possibly Long.MIN_VALUE
-
getType
Returns the optional step type, possibly null.- Returns:
- StepType optional step type, possibly null
-
hashCode
public int hashCode() -
toString
-