@Audience.Public
@Stability.Evolving
public interface Orchestrator
| Modifier and Type | Method and Description |
|---|---|
<T> T |
init(T target)
Initialize, all interfaces would be supported.
|
<T> T |
init(T target,
Class<?>... interfaces)
Initialize.
|
<T> T |
invoke(Callable<T> callable,
int time,
TimeUnit timeUnit,
ExecutorService executor)
Invoke callable.
|
<T> T init(T target)
target - object<T> T init(T target,
Class<?>... interfaces)
target - objectinterfaces - supported interfaces<T> T invoke(Callable<T> callable, int time, TimeUnit timeUnit, ExecutorService executor) throws Exception
callable - execution calltime - execution time limittimeUnit - execution time limit unitexecutor - ExecutorServiceExceptionCopyright © 2013–2019 BB Corp. All rights reserved.