org.openmdx.kernel.id.plugin
Class TimeBasedUUIDGeneratorUsingRandomBasedNode

java.lang.Object
  extended by org.openmdx.kernel.id.spi.TimeBasedIdBuilder
      extended by org.openmdx.kernel.id.spi.TimeBasedIdGenerator
          extended by org.openmdx.kernel.id.plugin.TimeBasedUUIDGeneratorUsingRandomBasedNode
All Implemented Interfaces:
UUIDGenerator

public class TimeBasedUUIDGeneratorUsingRandomBasedNode
extends TimeBasedIdGenerator
implements UUIDGenerator

Time Based UUID Provider using Random Based Nodes

This implementation follow the guidelines of http://www.ietf.org/internet-drafts/draft-mealling-uuid-urn-03.txt and avoids conflicts with TimeBasedUUIDGeneratorUsingInetAddress nodes by clearing/setting its IP multicast bits.

See Also:
TimeBasedUUIDGeneratorUsingIP4Address

Constructor Summary
TimeBasedUUIDGeneratorUsingRandomBasedNode()
           
 
Method Summary
 UUID next()
           
 
Methods inherited from class org.openmdx.kernel.id.spi.TimeBasedIdGenerator
getClockSequence, getNode, getRandom, getRandomBasedNode, getSystemTimeFrame, getTimeFrame, getTimestamp
 
Methods inherited from class org.openmdx.kernel.id.spi.TimeBasedIdBuilder
nextLeastSignificantBits, nextMostSignificantBits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeBasedUUIDGeneratorUsingRandomBasedNode

public TimeBasedUUIDGeneratorUsingRandomBasedNode()
Method Detail

next

public UUID next()
Specified by:
next in interface UUIDGenerator


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.