public class HttpNodeDataSource<T,D extends HTTPResponseDataDeserializer<T>> extends HttpNodeDataStoreConnector<T> implements NodeDataSource<T,D>
config, httpClient, mapper| Constructor and Description |
|---|
HttpNodeDataSource(Service service,
HttpClientConfig config,
com.fasterxml.jackson.databind.ObjectMapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isActive() |
Optional<List<ServiceNode<T>>> |
refresh(D deserializer) |
defaultPort, ensureConnected, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithealthcheckZombieCheckThresholdTimeensureConnected, start, stoppublic HttpNodeDataSource(Service service, HttpClientConfig config, com.fasterxml.jackson.databind.ObjectMapper mapper)
public Optional<List<ServiceNode<T>>> refresh(D deserializer)
refresh in interface NodeDataSource<T,D extends HTTPResponseDataDeserializer<T>>public boolean isActive()
isActive in interface NodeDataStoreConnector<T>isActive in class HttpNodeDataStoreConnector<T>Copyright © 2015–2023. All rights reserved.