RestClient
supporting communication with a cluster of nodes and failover.See: Description
Class | Description |
---|---|
FailoverHttpRequestExecutor |
request executor for the
FailoverRestClient . |
FailoverRestClient |
Alternative
RestClient implementation that supports talking to a cluster of
SMILA services and can do failover to another node if the current node is not reachable anymore. |
RestClient
supporting communication with a cluster of nodes and failover.
Just create an instance of FailoverRestClient
with a list of host-port strings
(e.g. "host1:8080", "host2:8080") instead of the standard DefaultRestClient
.
See also
How
to access the REST API with the RestClient for more information.