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

org.apache.zookeeper.server.util

## Class LogChopper

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

-     @InterfaceAudience.Public
      public class LogChopper
      extends Object

  this class will chop the log at the specified zxid

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LogChopper()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | `chop(InputStream is, OutputStream os, long zxid)`
    `static void` | `main(String[] args)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LogChopper

          public LogChopper()

  - ### Method Detail

    - #### main

          public static void main(String[] args)

    - #### chop

          public static boolean chop(InputStream is,
                                     OutputStream os,
                                     long zxid)
                              throws IOException

      Throws:
        `IOException`

Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.