public abstract class

AbstractUUIDGenerator

extends Object
implements IdentifierGenerator
java.lang.Object
   ↳ org.hibernate.id.AbstractUUIDGenerator
Known Direct Subclasses

Class Overview

The base class for identifier generators that use a UUID algorithm. This class implements the algorithm, subclasses define the identifier format.

See Also

Summary

[Expand]
Inherited Constants
From interface org.hibernate.id.IdentifierGenerator
Public Constructors
AbstractUUIDGenerator()
Protected Methods
short getCount()
Unique in a millisecond for this JVM instance (unless there are > Short.MAX_VALUE instances created in a millisecond)
short getHiTime()
Unique down to millisecond
int getIP()
Unique in a local network
int getJVM()
Unique across JVMs on this machine (unless they load this class in the same quater second - very unlikely)
int getLoTime()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.hibernate.id.IdentifierGenerator

Public Constructors

public AbstractUUIDGenerator ()

Protected Methods

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 ()