Class GenerationStamp
java.lang.Object
org.apache.hadoop.util.SequentialNumber
org.apache.hadoop.hdfs.server.common.GenerationStamp
- All Implemented Interfaces:
org.apache.hadoop.util.IdGenerator
@Private
public class GenerationStamp
extends org.apache.hadoop.util.SequentialNumber
A GenerationStamp is a Hadoop FS primitive, identified by a long.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longThe last reserved generation stamp. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.hadoop.util.SequentialNumber
equals, getCurrentValue, hashCode, nextValue, setCurrentValue, setIfGreater, skipTo
-
Field Details
-
LAST_RESERVED_STAMP
public static final long LAST_RESERVED_STAMPThe last reserved generation stamp.- See Also:
-
-
Constructor Details
-
GenerationStamp
public GenerationStamp()Create a new instance, initialized toLAST_RESERVED_STAMP.
-