@InterfaceAudience.Private public class SequentialBlockIdGenerator extends SequentialNumber
Modifier and Type | Field and Description |
---|---|
static long |
LAST_RESERVED_BLOCK_ID
The last reserved block ID.
|
Modifier and Type | Method and Description |
---|---|
long |
nextValue()
Increment and then return the next value.
|
equals, getCurrentValue, hashCode, setCurrentValue, skipTo
public static final long LAST_RESERVED_BLOCK_ID
public long nextValue()
SequentialNumber
nextValue
in class SequentialNumber
Copyright © 2013 Apache Software Foundation. All rights reserved.