public class StrongUuidGenerator extends Object implements IdGenerator
IdGenerator
implementation based on the current time and the ethernet
address of the machine it is running on.Modifier and Type | Field and Description |
---|---|
protected static com.fasterxml.uuid.impl.TimeBasedGenerator |
timeBasedGenerator |
Constructor and Description |
---|
StrongUuidGenerator() |
Modifier and Type | Method and Description |
---|---|
protected void |
ensureGeneratorInitialized() |
String |
getNextId() |
protected static com.fasterxml.uuid.impl.TimeBasedGenerator timeBasedGenerator
protected void ensureGeneratorInitialized()
public String getNextId()
getNextId
in interface IdGenerator
Copyright © 2021. All rights reserved.