public class HttpNodeDataStoreConnector<T> extends Object implements NodeDataStoreConnector<T>
| Modifier and Type | Field and Description |
|---|---|
protected HttpClientConfig |
config |
protected okhttp3.OkHttpClient |
httpClient |
protected com.fasterxml.jackson.databind.ObjectMapper |
mapper |
| Constructor and Description |
|---|
HttpNodeDataStoreConnector(HttpClientConfig config,
com.fasterxml.jackson.databind.ObjectMapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
defaultPort() |
void |
ensureConnected() |
boolean |
isActive() |
void |
start() |
void |
stop() |
protected final HttpClientConfig config
protected final com.fasterxml.jackson.databind.ObjectMapper mapper
protected final okhttp3.OkHttpClient httpClient
public HttpNodeDataStoreConnector(HttpClientConfig config, com.fasterxml.jackson.databind.ObjectMapper mapper)
public void start()
start in interface NodeDataStoreConnector<T>public void ensureConnected()
ensureConnected in interface NodeDataStoreConnector<T>public void stop()
stop in interface NodeDataStoreConnector<T>protected int defaultPort()
public boolean isActive()
isActive in interface NodeDataStoreConnector<T>Copyright © 2015–2023. All rights reserved.