MCPcopy Create free account
hub / github.com/apache/tomcat / usage

Method usage

test/org/apache/catalina/tribes/demos/LoadTest.java:275–289  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

273 }
274
275 public static void usage() {
276 System.out.println("Tribes Load tester.");
277 System.out.println("The load tester can be used in sender or received mode or both");
278 System.out.println(
279 "Usage:\n\t" + "java LoadTest [options]\n\t" + "Options:\n\t\t" + "[-mode receive|send|both] \n\t\t" +
280 "[-startoptions startflags (default is Channel.DEFAULT) ] \n\t\t" + "[-debug] \n\t\t" +
281 "[-count messagecount] \n\t\t" + "[-stats statinterval] \n\t\t" +
282 "[-pause nrofsecondstopausebetweensends] \n\t\t" + "[-threads numberofsenderthreads] \n\t\t" +
283 "[-size messagesize] \n\t\t" + "[-sendoptions channeloptions] \n\t\t" +
284 "[-break (halts execution on exception)]\n" +
285 "[-shutdown (issues a channel.stop() command after send is completed)]\n" +
286 "\tChannel options:" + ChannelCreator.usage() + "\n\n" + "Example:\n\t" +
287 "java LoadTest -port 4004\n\t" + "java LoadTest -bind 192.168.0.45 -port 4005\n\t" +
288 "java LoadTest -bind 192.168.0.45 -port 4005 -mbind 192.168.0.45 -count 100 -stats 10\n");
289 }
290
291 public static void main(String[] args) throws Exception {
292 boolean send = true;

Callers 1

mainMethod · 0.95

Calls 2

usageMethod · 0.95
printlnMethod · 0.45

Tested by

no test coverage detected