Package org.jgroups.tests.perf
Class JPerf
- java.lang.Object
-
- org.jgroups.tests.perf.JPerf
-
public class JPerf extends java.lang.ObjectTool to measure TCP throughput, similar to iperf
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classJPerf.Stats
-
Constructor Summary
Constructors Constructor Description JPerf()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static voidhelp()static voidmain(java.lang.String[] args)private static voidstart(boolean client, int length, java.lang.String bind_addr, java.lang.String host, int port, int window_size, int interval)
-
-
-
Method Detail
-
start
private static void start(boolean client, int length, java.lang.String bind_addr, java.lang.String host, int port, int window_size, int interval) throws java.io.IOException- Throws:
java.io.IOException
-
help
protected static void help()
-
main
public static void main(java.lang.String[] args) throws java.io.IOException- Throws:
java.io.IOException
-
-