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 Details

    • LAST_RESERVED_STAMP

      public static final long LAST_RESERVED_STAMP
      The last reserved generation stamp.
      See Also:
  • Constructor Details

    • GenerationStamp

      public GenerationStamp()
      Create a new instance, initialized to LAST_RESERVED_STAMP.