public class OrchestratorImpl extends Object implements Orchestrator
Orchestrator implementation.| Constructor and Description |
|---|
OrchestratorImpl() |
| 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.
|
public <T> T init(T target)
Orchestratorinit in interface Orchestratortarget - objectpublic <T> T init(T target,
Class<?>... interfaces)
Orchestratorinit in interface Orchestratortarget - objectinterfaces - supported interfacespublic <T> T invoke(Callable<T> callable, int time, TimeUnit timeUnit, ExecutorService executor) throws Exception
Orchestratorinvoke in interface Orchestratorcallable - execution calltime - execution time limittimeUnit - execution time limit unitexecutor - ExecutorServiceExceptionCopyright © 2013–2019 BB Corp. All rights reserved.