org.jboss.messaging.core.impl
Class RotatingID

java.lang.Object
  extended by org.jboss.messaging.core.impl.RotatingID

public class RotatingID
extends java.lang.Object

A RotatingID 64 bits, made up of: First 16 bits - node id Next 34 bits - lowest 34 bits of system time Next 14 bits - rotating counter

Author:
Tim Fox

Constructor Summary
RotatingID(int nodeID)
           
 
Method Summary
 long getID()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RotatingID

public RotatingID(int nodeID)
Method Detail

getID

public long getID()


Copyright © 2006 JBoss Inc. All Rights Reserved.