GenerationStamp (Apache Hadoop HDFS 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.server.common, class: GenerationStamp

Package org.apache.hadoop.hdfs.server.common

# 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

  Fields
  Modifier and Type
  Field
  Description
  `static final long`
  `LAST_RESERVED_STAMP`
  The last reserved generation stamp.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GenerationStamp()`
  Create a new instance, initialized to `LAST_RESERVED_STAMP`.

- ## Method Summary

  ### Methods inherited from class org.apache.hadoop.util.SequentialNumber

  `equals, getCurrentValue, hashCode, nextValue, setCurrentValue, setIfGreater, skipTo`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### LAST_RESERVED_STAMP

    public static final long LAST_RESERVED_STAMP
    The last reserved generation stamp.
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### GenerationStamp

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