public class Future<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Future.FutureBuild<T> |
static class |
Future.FutureWith<T> |
| Modifier and Type | Method and Description |
|---|---|
static <T> Future.FutureWith<T> |
proxy(Class<T> primaryType)
Creates a proxy instance for asynchronous calls on a type.
|
static <T> Future.FutureWith<T> |
proxy(Class<T> primaryType,
Class<?>... types)
Creates a proxy instance for asynchronous calls on a type.
|
static <T> Future.FutureBuild<T> |
proxy(T target)
Creates a proxy instance for asynchronous calls on an object.
|
public static <T> Future.FutureWith<T> proxy(Class<T> primaryType)
primaryType - the type of the created proxy.public static <T> Future.FutureWith<T> proxy(Class<T> primaryType, Class<?>... types)
primaryType - the main type of the created proxy.types - the other types of the created proxy.public static <T> Future.FutureBuild<T> proxy(T target)
target - the proxied object.Copyright © 2005–2018 Codehaus. All rights reserved.