public class AsyncInvocationStrategy extends java.lang.Object implements InvocationStrategy
| Modifier and Type | Field and Description |
|---|---|
static AsyncInvocationStrategy |
INSTANCE |
| Constructor and Description |
|---|
AsyncInvocationStrategy() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isAsyncMethod(java.lang.reflect.Method method) |
ResponseFuture |
request(SerializationStrategy serializationStrategy,
java.lang.ClassLoader loader,
java.lang.reflect.Method method,
java.lang.Object[] args,
org.fusesource.hawtbuf.DataByteArrayOutputStream target) |
void |
service(SerializationStrategy serializationStrategy,
java.lang.ClassLoader loader,
java.lang.reflect.Method method,
java.lang.Object target,
org.fusesource.hawtbuf.DataByteArrayInputStream requestStream,
org.fusesource.hawtbuf.DataByteArrayOutputStream responseStream,
java.lang.Runnable onComplete) |
public static final AsyncInvocationStrategy INSTANCE
public static boolean isAsyncMethod(java.lang.reflect.Method method)
public ResponseFuture request(SerializationStrategy serializationStrategy, java.lang.ClassLoader loader, java.lang.reflect.Method method, java.lang.Object[] args, org.fusesource.hawtbuf.DataByteArrayOutputStream target) throws java.lang.Exception
request in interface InvocationStrategyjava.lang.Exceptionpublic void service(SerializationStrategy serializationStrategy, java.lang.ClassLoader loader, java.lang.reflect.Method method, java.lang.Object target, org.fusesource.hawtbuf.DataByteArrayInputStream requestStream, org.fusesource.hawtbuf.DataByteArrayOutputStream responseStream, java.lang.Runnable onComplete)
service in interface InvocationStrategyCopyright © 2014 Red Hat. All Rights Reserved.