A - the type of service addressesS - the type of service stubspublic class DiscoveryConfig<A,S> extends AbstractConfig<A,S>
DiscoveryDelegate| Constructor and Description |
|---|
DiscoveryConfig(ProxyPlugin<A,S,?> plugin,
Query<A> query,
EndpointCache<A> cache)
Creates an instance with a given
ProxyPlugin, Query and call timeout. |
| Modifier and Type | Method and Description |
|---|---|
EndpointCache<A> |
cache()
Returns the address cache used by the proxy.
|
Query<A> |
query()
Returns the query used by the proxy.
|
addProperty, addProperty, hasProperty, plugin, property, timeoutpublic DiscoveryConfig(ProxyPlugin<A,S,?> plugin, Query<A> query, EndpointCache<A> cache)
ProxyPlugin, Query and call timeout.plugin - the pluginquery - the querythe - timeoutpublic EndpointCache<A> cache()
Copyright © 2017. All Rights Reserved.