org.jpox.store.poid |
POID - Persistent Id Generation.
This package provides a series of classes providing generation of identities.
The entry point is PoidManager which is used for creating and managing the
various PoidGenerators. All generators are known by a symbolic name and can
be accessed from the PoidManager via that name once created. All PoidGenerators
copy the JDO2 "javax.jdo.datastore.Sequence" interface method names and hence
can be easily extended and implement that interface.
|
Java Source File Name | Type | Comment |
AbstractDatastorePoidGenerator.java | Class | Abstract representation of a PoidGenerator for a datastore. |
AbstractPoidGenerator.java | Class | Abstract POID generator. |
AbstractUIDPoidGenerator.java | Class | Poid generator for a UID format. |
AbstractUUIDPoidGenerator.java | Class | Poid generator for a UUID format. |
AUID.java | Class | An almost unique ID.
This class represents a best possible derivate of a DCE UUID as is possible
with the standard Java API, which provides no way to determine the IEEE 802
address of a system and only provides a time with a granularity of
milliseconds instead of the required 100nanoseconds.
It therefore uses random node values and also does not use non-volatile
storage for internal state fields.
The uuid is internally stored as two 64 bit long values. |
AUIDPoidGenerator.java | Class | This generator uses a Java implementation of DCE UUIDs to create unique
identifiers without the overhead of additional database transactions or even
an open database connection. |
Poid.java | Class | Persistent Object id. |
PoidBlock.java | Class | Representation of a block of ids. |
PoidConnectionProvider.java | Interface | Connection provider for a PoidGenerator that requires connections to their
datastore. |
PoidException.java | Class | |
PoidGenerator.java | Interface | Generator interface for POIDs. |
PoidManager.java | Class | Manager for the creation of PoidGenerators. |
UUIDHexPoidGenerator.java | Class | Poid generator for a UUID hexadecimal format. |
UUIDHexPoidGeneratorTest.java | Class | Unit tests for the "uuid-hex" identity generation. |
UUIDStringPoidGenerator.java | Class | Poid generator for a UUID String format. |
UUIDStringPoidGeneratorTest.java | Class | Unit tests for the "uuid-string" identity generation. |