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 10 bits - node id Next 39 bits - 4th - 42nd bits of system time Next 15 bits - rotating counter

Author:
Tim Fox, Howard Gao

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.