Modifier and Type | Class and Description |
---|---|
class |
DefaultServiceInstance
Default implementation of
ServiceInstance . |
Modifier and Type | Method and Description |
---|---|
static URI |
DefaultServiceInstance.getUri(ServiceInstance instance)
Creates a URI from the given ServiceInstance's host:port.
|
Modifier and Type | Method and Description |
---|---|
List<ServiceInstance> |
DiscoveryClient.getInstances(String serviceId)
Gets all ServiceInstances associated with a particular serviceId.
|
reactor.core.publisher.Flux<ServiceInstance> |
ReactiveDiscoveryClient.getInstances(String serviceId)
Gets 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 |
---|---|
reactor.core.publisher.Flux<ServiceInstance> |
ReactiveCompositeDiscoveryClient.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
Basic implementation of
ServiceInstance . |
Modifier and Type | Method and Description |
---|---|
List<ServiceInstance> |
SimpleDiscoveryClient.getInstances(String serviceId) |
Modifier and Type | Class and Description |
---|---|
static class |
SimpleReactiveDiscoveryProperties.SimpleServiceInstance
Basic implementation of
ServiceInstance . |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Flux<ServiceInstance> |
SimpleReactiveDiscoveryClient.getInstances(String serviceId) |
reactor.core.publisher.Flux<ServiceInstance> |
SimpleReactiveDiscoveryProperties.getInstances(String service) |
Modifier and Type | Method and Description |
---|---|
ServiceInstance |
DynamicServiceInstanceProvider.getServiceInstance() |
ServiceInstance |
ServiceInstanceProvider.getServiceInstance()
Returns the service instance or null if the service is currently
unavailable.
|
ServiceInstance |
StaticServiceInstanceProvider.getServiceInstance() |
Constructor and Description |
---|
StaticServiceInstanceProvider(ServiceInstance instance) |
Modifier and Type | Method and Description |
---|---|
ServiceInstance |
ServiceInstanceChooser.choose(String serviceId)
Chooses a ServiceInstance from the LoadBalancer for the specified service.
|
ServiceInstance |
EmptyResponse.getServer() |
ServiceInstance |
DefaultResponse.getServer() |
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)
Executes request using a ServiceInstance from the LoadBalancer for the specified
service.
|
URI |
LoadBalancerClient.reconstructURI(ServiceInstance instance,
URI original)
Creates a proper URI with a real host and port for systems to utilize.
|
static URI |
LoadBalancerUriTools.reconstructURI(ServiceInstance serviceInstance,
URI original)
Modifies the URI in order to redirect the request to a service instance of choice.
|
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 |
---|
DefaultResponse(ServiceInstance serviceInstance) |
ServiceRequestWrapper(org.springframework.http.HttpRequest request,
ServiceInstance instance,
LoadBalancerClient loadBalancer) |
Modifier and Type | Method and Description |
---|---|
protected reactor.core.publisher.Mono<Response<ServiceInstance>> |
ReactorLoadBalancerExchangeFilterFunction.choose(String serviceId) |
Modifier and Type | Method and Description |
---|---|
protected URI |
ReactorLoadBalancerExchangeFilterFunction.reconstructURI(ServiceInstance instance,
URI original) |
Constructor and Description |
---|
DefaultResponse(ServiceInstance serviceInstance)
Deprecated.
|
Constructor and Description |
---|
ReactorLoadBalancerExchangeFilterFunction(ReactiveLoadBalancer.Factory<ServiceInstance> loadBalancerFactory) |
Modifier and Type | Interface and Description |
---|---|
interface |
Registration
A marker interface used by a
ServiceRegistry . |
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.