org.jgroups.demos
Class ExecutionServiceDemo
java.lang.Object
org.jgroups.demos.ExecutionServiceDemo
public class ExecutionServiceDemo
- extends java.lang.Object
Method Summary |
protected static void |
help()
|
protected void |
loop()
|
static void |
main(java.lang.String[] args)
|
void |
start()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
props
protected java.lang.String props
ch
protected JChannel ch
execution_service
protected ExecutionService execution_service
name
protected java.lang.String name
runner
protected ExecutionRunner runner
size
protected int size
printValues
protected boolean printValues
random
protected java.util.Random random
executor
protected java.util.concurrent.ExecutorService executor
queue
protected java.util.Queue<java.util.concurrent.Future<?>> queue
ExecutionServiceDemo
public ExecutionServiceDemo(java.lang.String props,
java.lang.String name,
int size)
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
start
public void start()
throws java.lang.Exception
- Throws:
java.lang.Exception
loop
protected void loop()
throws java.lang.Exception
- Throws:
java.lang.Exception
help
protected static void help()
Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.