public class ExecutionServiceDemo extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
ExecutionServiceDemo.ByteBufferStreamable |
static class |
ExecutionServiceDemo.SortingByteCallable |
static class |
ExecutionServiceDemo.SortingTwoByteCallable
Sorts 2 byte arrys into a larger byte array
|
Modifier and Type | Field and Description |
---|---|
protected JChannel |
ch |
protected ExecutionService |
execution_service |
protected ExecutorService |
executor |
protected String |
name |
protected boolean |
printValues |
protected String |
props |
protected Queue<Future<?>> |
queue |
protected Random |
random |
protected ExecutionRunner |
runner |
protected int |
size |
Constructor and Description |
---|
ExecutionServiceDemo(String props,
String name,
int size) |
protected String props
protected JChannel ch
protected ExecutionService execution_service
protected String name
protected ExecutionRunner runner
protected int size
protected boolean printValues
protected Random random
protected ExecutorService executor
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.