Package org.apache.zookeeper.server.util
Class LogChopper
- java.lang.Object
-
- org.apache.zookeeper.server.util.LogChopper
-
@Public public class LogChopper extends Object
this class will chop the log at the specified zxid
-
-
Constructor Summary
Constructors Constructor Description LogChopper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
chop(InputStream is, OutputStream os, long zxid)
static void
main(String[] args)
-
-
-
Method Detail
-
main
public static void main(String[] args)
-
chop
public static boolean chop(InputStream is, OutputStream os, long zxid) throws IOException
- Throws:
IOException
-
-