Package org.apache.commons.id.uuid.clock

This package contains the Clock interface and implementations for generating UUID timestamps.

See:
          Description

Interface Summary
Clock Provides a timing mechanism for returning the current time in 100-nano second intervals since 00:00:00.00, 15 October 1582.
 

Class Summary
SystemClockImpl SystemClockImpl provides a timing mechanism for returning the current time in 100-nano second intervals since 00:00:00.00, 15 October 1582.
ThreadClockImpl Clock provides a timing mechanism for returning the current time in 100-nano second intervals since 00:00:00.00, 15 October 1582.
 

Exception Summary
OverClockedException This exception is raised whenever the clock generates too many timestamps in a given system interval.
 

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

This package contains the Clock interface and implementations for generating UUID timestamps. UUID timestamps are measured in 100-nano second intervals since the Gregorian changeover epoch (00:00:00.00, 15 October 1582.) Due to several factors relating to time precision and time resolution on Windows tm and in Java tm in general; the Clock interface is introduced to allow different or custom strategies in timestamp generation. The IETF (Internet Engineering Task Force) specification details some of these approaches. For more information see the RFC 4122: A Universally Unique IDentifier (UUID) URN Namespace.

Two provided implementation are:



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