Modifier and Type | Class and Description |
---|---|
class |
DefaultServiceInstance
Default implementation of
ServiceInstance . |
Modifier and Type | Method and Description |
---|---|
static URI |
DefaultServiceInstance.getUri(ServiceInstance instance)
Create a uri from the given ServiceInstance's host:port
|
Modifier and Type | Method and Description |
---|---|
List<ServiceInstance> |
DiscoveryClient.getInstances(String serviceId)
Get all ServiceInstances associated with a particular serviceId
|
Modifier and Type | Method and Description |
---|---|
List<ServiceInstance> |
CompositeDiscoveryClient.getInstances(String serviceId) |
Modifier and Type | Method and Description |
---|---|
List<ServiceInstance> |
NoopDiscoveryClient.getInstances(String serviceId)
Deprecated.
|
Constructor and Description |
---|
NoopDiscoveryClient(ServiceInstance instance)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
static class |
SimpleDiscoveryProperties.SimpleServiceInstance |
Modifier and Type | Method and Description |
---|---|
List<ServiceInstance> |
SimpleDiscoveryClient.getInstances(String serviceId) |
Modifier and Type | Method and Description |
---|---|
ServiceInstance |
ServiceInstanceProvider.getServiceInstance()
Returns the service instance or null in case the service is currently unavailable.
|
ServiceInstance |
DynamicServiceInstanceProvider.getServiceInstance() |
ServiceInstance |
StaticServiceInstanceProvider.getServiceInstance() |
Constructor and Description |
---|
StaticServiceInstanceProvider(ServiceInstance instance) |
Modifier and Type | Method and Description |
---|---|
ServiceInstance |
ServiceInstanceChooser.choose(String serviceId)
Choose a ServiceInstance from the LoadBalancer for the specified service
|
ServiceInstance |
LoadBalancedRetryContext.getServiceInstance()
Gets the service instance used during the retry.
|
Modifier and Type | Method and Description |
---|---|
T |
LoadBalancerRequest.apply(ServiceInstance instance) |
<T> T |
LoadBalancerClient.execute(String serviceId,
ServiceInstance serviceInstance,
LoadBalancerRequest<T> request)
execute request using a ServiceInstance from the LoadBalancer for the specified
service
|
URI |
LoadBalancerClient.reconstructURI(ServiceInstance instance,
URI original)
Create a proper URI with a real host and port for systems to utilize.
|
void |
LoadBalancedRetryContext.setServiceInstance(ServiceInstance serviceInstance)
Sets the service instance to use during the retry.
|
org.springframework.http.HttpRequest |
LoadBalancerRequestTransformer.transformRequest(org.springframework.http.HttpRequest request,
ServiceInstance instance) |
Constructor and Description |
---|
ServiceRequestWrapper(org.springframework.http.HttpRequest request,
ServiceInstance instance,
LoadBalancerClient loadBalancer) |
Modifier and Type | Interface and Description |
---|---|
interface |
Registration
A marker interface used by a
ServiceRegistry . |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.