public class LegacyGenerator extends Object implements IDGenerator.Ordered
IDGenerator interface and the old
MessageIDGenerator class. Only use this implementation if you
absolutely must stick to legacy implementation. It is recommended to switch
to FileBasedHiLoGenerator.IDGenerator.Ordered, IDGenerator.OrderedSupport| Constructor and Description |
|---|
LegacyGenerator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getID()
Generates and returns a new ID.
|
long |
getIncrement() |
void |
reset() |
public LegacyGenerator()
public String getID() throws IOException
IDGeneratorgetID in interface IDGeneratorIOExceptionpublic void reset()
reset in interface IDGenerator.Orderedpublic long getIncrement()
getIncrement in interface IDGenerator.OrderedCopyright © 2001–2017 University Health Network. All rights reserved.