Modifier and Type | Method and Description |
---|---|
static SequentialIdGenerator |
createInstance(long start)
Creates a sequential id generator that will count up from (and including) the supplied start value.
|
long |
getNextId()
Gets the next sequential id.
|
public static SequentialIdGenerator createInstance(long start)
start
- The value at which this generator should start.public long getNextId()
Copyright © 2008–2018. All rights reserved.