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
-
Method Details
-
nextValue
long nextValue()Increment and then return the next value.- Returns:
- long value.
-