public static final class EtcdServiceCallServerListStrategies.Watch extends EtcdServiceCallServerListStrategy implements mousio.client.promises.ResponsePromise.IsSimplePromiseResponseHandler<mousio.etcd4j.responses.EtcdKeysResponse>
Constructor and Description |
---|
Watch(EtcdConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
List<EtcdServiceCallServer> |
getUpdatedListOfServers(String name) |
void |
onResponse(mousio.client.promises.ResponsePromise<mousio.etcd4j.responses.EtcdKeysResponse> promise) |
String |
toString() |
doStart, doStop, getClient, getConfiguration, nodeFromString
getCamelContext, getInitialListOfServers, setCamelContext
public Watch(EtcdConfiguration configuration) throws Exception
Exception
public List<EtcdServiceCallServer> getUpdatedListOfServers(String name)
getUpdatedListOfServers
in interface org.apache.camel.spi.ServiceCallServerListStrategy<EtcdServiceCallServer>
getUpdatedListOfServers
in class org.apache.camel.impl.remote.DefaultServiceCallServerListStrategy<EtcdServiceCallServer>
public void onResponse(mousio.client.promises.ResponsePromise<mousio.etcd4j.responses.EtcdKeysResponse> promise)
onResponse
in interface mousio.client.promises.ResponsePromise.IsSimplePromiseResponseHandler<mousio.etcd4j.responses.EtcdKeysResponse>
Apache Camel