Package org.h2.test.trace
Class Player
- java.lang.Object
-
- org.h2.test.trace.Player
-
public class Player extends java.lang.ObjectThis tool can re-run Java style log files. There is no size limit.
-
-
Constructor Summary
Constructors Constructor Description Player()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidexecute(java.lang.String fileName, boolean trace)Execute a trace file.static voidmain(java.lang.String... args)Execute a trace file using the command line.
-
-
-
Method Detail
-
main
public static void main(java.lang.String... args) throws java.io.IOExceptionExecute a trace file using the command line. The log file name to execute (replayed) must be specified as the last parameter. The following optional command line parameters are supported:-logto enable logging the executed statement to System.out
- Parameters:
args- the arguments of the application- Throws:
java.io.IOException
-
execute
public static void execute(java.lang.String fileName, boolean trace) throws java.io.IOExceptionExecute a trace file.- Parameters:
fileName- the file nametrace- print debug information- Throws:
java.io.IOException
-
-