IdGenerator (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.util, interface: IdGenerator

Package org.apache.hadoop.util

# Interface IdGenerator

All Known Implementing Classes:
  `SequentialNumber`

@Private public interface IdGenerator
Generic ID generator used for generating various types of number sequences.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `long`
  `nextValue()`
  Increment and then return the next value.

- ## Method Details

  - ### nextValue

    long nextValue()
    Increment and then return the next value.
    Returns:
      long value.