Uses of Interface
org.springframework.cloud.client.ServiceInstance
-
-
Uses of ServiceInstance in org.springframework.cloud.client
Classes in org.springframework.cloud.client that implement ServiceInstance Modifier and Type Class Description class
DefaultServiceInstance
Default implementation ofServiceInstance
.Methods in org.springframework.cloud.client with parameters of type ServiceInstance Modifier and Type Method Description static URI
DefaultServiceInstance. getUri(ServiceInstance instance)
Creates a URI from the given ServiceInstance's host:port. -
Uses of ServiceInstance in org.springframework.cloud.client.discovery
Methods in org.springframework.cloud.client.discovery that return types with arguments of type ServiceInstance Modifier and Type Method 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. -
Uses of ServiceInstance in org.springframework.cloud.client.discovery.composite
Methods in org.springframework.cloud.client.discovery.composite that return types with arguments of type ServiceInstance Modifier and Type Method Description List<ServiceInstance>
CompositeDiscoveryClient. getInstances(String serviceId)
-
Uses of ServiceInstance in org.springframework.cloud.client.discovery.composite.reactive
Methods in org.springframework.cloud.client.discovery.composite.reactive that return types with arguments of type ServiceInstance Modifier and Type Method Description reactor.core.publisher.Flux<ServiceInstance>
ReactiveCompositeDiscoveryClient. getInstances(String serviceId)
-
Uses of ServiceInstance in org.springframework.cloud.client.discovery.simple
Methods in org.springframework.cloud.client.discovery.simple that return types with arguments of type ServiceInstance Modifier and Type Method Description List<ServiceInstance>
SimpleDiscoveryClient. getInstances(String serviceId)
-
Uses of ServiceInstance in org.springframework.cloud.client.discovery.simple.reactive
Methods in org.springframework.cloud.client.discovery.simple.reactive that return types with arguments of type ServiceInstance Modifier and Type Method Description reactor.core.publisher.Flux<ServiceInstance>
SimpleReactiveDiscoveryClient. getInstances(String serviceId)
reactor.core.publisher.Flux<ServiceInstance>
SimpleReactiveDiscoveryProperties. getInstances(String service)
-
Uses of ServiceInstance in org.springframework.cloud.client.hypermedia
Methods in org.springframework.cloud.client.hypermedia that return ServiceInstance Modifier and Type Method Description ServiceInstance
DynamicServiceInstanceProvider. getServiceInstance()
ServiceInstance
ServiceInstanceProvider. getServiceInstance()
Returns the service instance or null if the service is currently unavailable.ServiceInstance
StaticServiceInstanceProvider. getServiceInstance()
Constructors in org.springframework.cloud.client.hypermedia with parameters of type ServiceInstance Constructor Description StaticServiceInstanceProvider(ServiceInstance instance)
-
Uses of ServiceInstance in org.springframework.cloud.client.loadbalancer
Methods in org.springframework.cloud.client.loadbalancer that return ServiceInstance Modifier and Type Method Description ServiceInstance
ServiceInstanceChooser. choose(String serviceId)
Chooses a ServiceInstance from the LoadBalancer for the specified service.<T> ServiceInstance
ServiceInstanceChooser. choose(String serviceId, Request<T> request)
Chooses a ServiceInstance from the LoadBalancer for the specified service and LoadBalancer request.ServiceInstance
LoadBalancedRetryContext. getPreviousServiceInstance()
ServiceInstance
RetryableRequestContext. getPreviousServiceInstance()
ServiceInstance
DefaultResponse. getServer()
ServiceInstance
EmptyResponse. getServer()
ServiceInstance
LoadBalancedRetryContext. getServiceInstance()
Gets the service instance used during the retry.Methods in org.springframework.cloud.client.loadbalancer with parameters of type ServiceInstance Modifier and Type Method Description T
LoadBalancerRequest. apply(ServiceInstance instance)
T
LoadBalancerRequestAdapter. 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. setPreviousServiceInstance(ServiceInstance previousServiceInstance)
void
RetryableRequestContext. setPreviousServiceInstance(ServiceInstance previousServiceInstance)
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)
Method parameters in org.springframework.cloud.client.loadbalancer with type arguments of type ServiceInstance Modifier and Type Method Description RetryLoadBalancerInterceptor
LoadBalancerAutoConfiguration.RetryInterceptorAutoConfiguration. loadBalancerInterceptor(LoadBalancerClient loadBalancerClient, LoadBalancerRequestFactory requestFactory, LoadBalancedRetryFactory loadBalancedRetryFactory, ReactiveLoadBalancer.Factory<ServiceInstance> loadBalancerFactory)
Constructors in org.springframework.cloud.client.loadbalancer with parameters of type ServiceInstance Constructor Description DefaultResponse(ServiceInstance serviceInstance)
RetryableRequestContext(ServiceInstance previousServiceInstance)
RetryableRequestContext(ServiceInstance previousServiceInstance, RequestData clientRequestData)
RetryableRequestContext(ServiceInstance previousServiceInstance, RequestData clientRequestData, String hint)
ServiceRequestWrapper(org.springframework.http.HttpRequest request, ServiceInstance instance, LoadBalancerClient loadBalancer)
Constructor parameters in org.springframework.cloud.client.loadbalancer with type arguments of type ServiceInstance Constructor Description RetryLoadBalancerInterceptor(LoadBalancerClient loadBalancer, LoadBalancerProperties properties, LoadBalancerRequestFactory requestFactory, LoadBalancedRetryFactory lbRetryFactory, ReactiveLoadBalancer.Factory<ServiceInstance> loadBalancerFactory)
RetryLoadBalancerInterceptor(LoadBalancerClient loadBalancer, LoadBalancerRequestFactory requestFactory, LoadBalancedRetryFactory lbRetryFactory, ReactiveLoadBalancer.Factory<ServiceInstance> loadBalancerFactory)
-
Uses of ServiceInstance in org.springframework.cloud.client.loadbalancer.reactive
Methods in org.springframework.cloud.client.loadbalancer.reactive that return types with arguments of type ServiceInstance Modifier and Type Method Description protected reactor.core.publisher.Mono<Response<ServiceInstance>>
ReactorLoadBalancerExchangeFilterFunction. choose(String serviceId, Request<RequestDataContext> request)
protected reactor.core.publisher.Mono<Response<ServiceInstance>>
RetryableLoadBalancerExchangeFilterFunction. choose(String serviceId, Request<RetryableRequestContext> request)
Methods in org.springframework.cloud.client.loadbalancer.reactive with parameters of type ServiceInstance Modifier and Type Method Description org.springframework.web.reactive.function.client.ClientRequest
LoadBalancerClientRequestTransformer. transformRequest(org.springframework.web.reactive.function.client.ClientRequest request, ServiceInstance instance)
Method parameters in org.springframework.cloud.client.loadbalancer.reactive with type arguments of type ServiceInstance Modifier and Type Method Description ReactorLoadBalancerExchangeFilterFunction
ReactorLoadBalancerClientAutoConfiguration. loadBalancerExchangeFilterFunction(ReactiveLoadBalancer.Factory<ServiceInstance> loadBalancerFactory, org.springframework.beans.factory.ObjectProvider<List<LoadBalancerClientRequestTransformer>> transformers)
LoadBalancerRetryPolicy.Factory
ReactorLoadBalancerClientAutoConfiguration. loadBalancerRetryPolicy(ReactiveLoadBalancer.Factory<ServiceInstance> loadBalancerFactory)
RetryableLoadBalancerExchangeFilterFunction
ReactorLoadBalancerClientAutoConfiguration. retryableLoadBalancerExchangeFilterFunction(ReactiveLoadBalancer.Factory<ServiceInstance> loadBalancerFactory, LoadBalancerRetryPolicy.Factory retryPolicyFactory, org.springframework.beans.factory.ObjectProvider<List<LoadBalancerClientRequestTransformer>> transformers)
-
Uses of ServiceInstance in org.springframework.cloud.client.serviceregistry
Subinterfaces of ServiceInstance in org.springframework.cloud.client.serviceregistry Modifier and Type Interface Description interface
Registration
A marker interface used by aServiceRegistry
.
-