public abstract class AbstractUUIDGenerator extends Object implements IdentifierGenerator
UUIDHexGenerator
ENTITY_NAME, GENERATOR_NAME, JPA_ENTITY_NAME
Constructor and Description |
---|
AbstractUUIDGenerator() |
Modifier and Type | Method and Description |
---|---|
protected short |
getCount()
Unique in a millisecond for this JVM instance (unless there
are > Short.MAX_VALUE instances created in a millisecond)
|
protected short |
getHiTime()
Unique down to millisecond
|
protected int |
getIP()
Unique in a local network
|
protected int |
getJVM()
Unique across JVMs on this machine (unless they load this class
in the same quater second - very unlikely)
|
protected int |
getLoTime() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generate
protected int getJVM()
protected short getCount()
protected int getIP()
protected short getHiTime()
protected int getLoTime()
Copyright © 2019 JBoss by Red Hat. All rights reserved.