Package org.apache.commons.id.uuid.state

This package contains persistent and non-persistent state implementations for data related to the generation of version 1 UUIDs.

See:
          Description

Interface Summary
State The State interface.
 

Class Summary
InMemoryStateImpl The InMemoryStateImpl is an implementation of the State interface.
Node The Node class represents the data and accessors for a single node identifier.
ReadOnlyResourceStateImpl The ReadOnlyResourceStateImpl is an implementation of the State interface.
ReadWriteFileStateImpl The ReadWriteFileStateImpl is an implementation of the State interface.
StateHelper StateHelper provides helper methods for the uuid state implementations.
 

Package org.apache.commons.id.uuid.state Description

This package contains persistent and non-persistent state implementations for data related to the generation of version 1 UUIDs. Not all containers allow I/O; however when generating version 1 UUIDs it is best to persist the node identifier (MAC address), clock sequence, and last timestamp generated combination to stable storage. This allows the generator to determine if the time has been set backwards so that a different clock sequence is used to reduce the likelihood of duplicate identifiers.

Three provided implementation are:



Copyright 2003-2008 The Apache Software Foundation. All Rights Reserved.