Stub.ServiceCall<IFACE,OUTPUT,ERROR extends Exception>, Stub.ServiceRun<IFACE,ERROR extends Exception>| Constructor and Description |
|---|
ServiceDiscoveryExecutor(String serviceId) |
| Modifier and Type | Method and Description |
|---|---|
<OUTPUT,ERROR extends Exception> |
call(Stub.ServiceCall<IFACE,OUTPUT,ERROR> callable) |
boolean |
isRunning() |
void |
setServiceNodeBalancer(ServiceNodeBalancer nodeBalancer) |
void |
setServiceNodeDiscovery(ServiceNodeDiscovery nodeDiscovery) |
void |
start() |
void |
stop() |
public ServiceDiscoveryExecutor(String serviceId)
public <OUTPUT,ERROR extends Exception> OUTPUT call(Stub.ServiceCall<IFACE,OUTPUT,ERROR> callable) throws ERROR extends Exception
public void start()
throws Exception
start in interface org.irenical.lifecycle.LifeCycleExceptionpublic void stop()
throws Exception
stop in interface org.irenical.lifecycle.LifeCycleExceptionpublic boolean isRunning()
throws Exception
isRunning in interface org.irenical.lifecycle.LifeCycleExceptionpublic void setServiceNodeDiscovery(ServiceNodeDiscovery nodeDiscovery)
public void setServiceNodeBalancer(ServiceNodeBalancer nodeBalancer)
Copyright © 2016 Irenical. All rights reserved.