ZxidUtils (Apache ZooKeeper - Server 3.7.0 API)
Date: 2021-03-17

org.apache.zookeeper.server.util

## Class ZxidUtils

- java.lang.Object
- - org.apache.zookeeper.server.util.ZxidUtils

-     public class ZxidUtils
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ZxidUtils()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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 © 2008–2021 The Apache Software Foundation. All rights reserved.