org.apache.zookeeper.server.util
Class ZxidUtils

java.lang.Object
  extended by org.apache.zookeeper.server.util.ZxidUtils

public class ZxidUtils
extends Object


Constructor Summary
ZxidUtils()
           
 
Method Summary
static long getCounterFromZxid(long zxid)
           
static long getEpochFromZxid(long zxid)
           
static long makeZxid(long epoch, long counter)
           
static String zxidToString(long zxid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZxidUtils

public ZxidUtils()
Method Detail

getEpochFromZxid

public static long getEpochFromZxid(long zxid)

getCounterFromZxid

public static long getCounterFromZxid(long zxid)

makeZxid

public static long makeZxid(long epoch,
                            long counter)

zxidToString

public static String zxidToString(long zxid)


Copyright © 2011 The Apache Software Foundation