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 classDefaultServiceInstanceDefault implementation ofServiceInstance.Methods in org.springframework.cloud.client with parameters of type ServiceInstance Modifier and Type Method Description static URIDefaultServiceInstance. 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 ServiceInstanceDynamicServiceInstanceProvider. getServiceInstance()ServiceInstanceServiceInstanceProvider. getServiceInstance()Returns the service instance or null if the service is currently unavailable.ServiceInstanceStaticServiceInstanceProvider. 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 ServiceInstanceServiceInstanceChooser. choose(String serviceId)Chooses a ServiceInstance from the LoadBalancer for the specified service.<T> ServiceInstanceServiceInstanceChooser. choose(String serviceId, Request<T> request)Chooses a ServiceInstance from the LoadBalancer for the specified service and LoadBalancer request.ServiceInstanceLoadBalancedRetryContext. getPreviousServiceInstance()ServiceInstanceRetryableRequestContext. getPreviousServiceInstance()ServiceInstanceDefaultResponse. getServer()ServiceInstanceEmptyResponse. getServer()ServiceInstanceLoadBalancedRetryContext. 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 TLoadBalancerRequest. apply(ServiceInstance instance)TLoadBalancerRequestAdapter. apply(ServiceInstance instance)<T> TLoadBalancerClient. execute(String serviceId, ServiceInstance serviceInstance, LoadBalancerRequest<T> request)Executes request using a ServiceInstance from the LoadBalancer for the specified service.URILoadBalancerClient. reconstructURI(ServiceInstance instance, URI original)Creates a proper URI with a real host and port for systems to utilize.static URILoadBalancerUriTools. reconstructURI(ServiceInstance serviceInstance, URI original)Modifies the URI in order to redirect the request to a service instance of choice.voidLoadBalancedRetryContext. setPreviousServiceInstance(ServiceInstance previousServiceInstance)voidRetryableRequestContext. setPreviousServiceInstance(ServiceInstance previousServiceInstance)voidLoadBalancedRetryContext. setServiceInstance(ServiceInstance serviceInstance)Sets the service instance to use during the retry.org.springframework.http.HttpRequestLoadBalancerRequestTransformer. 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 RetryLoadBalancerInterceptorLoadBalancerAutoConfiguration.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.ClientRequestLoadBalancerClientRequestTransformer. 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 ReactorLoadBalancerExchangeFilterFunctionReactorLoadBalancerClientAutoConfiguration. loadBalancerExchangeFilterFunction(ReactiveLoadBalancer.Factory<ServiceInstance> loadBalancerFactory, org.springframework.beans.factory.ObjectProvider<List<LoadBalancerClientRequestTransformer>> transformers)LoadBalancerRetryPolicy.FactoryReactorLoadBalancerClientAutoConfiguration. loadBalancerRetryPolicy(ReactiveLoadBalancer.Factory<ServiceInstance> loadBalancerFactory)RetryableLoadBalancerExchangeFilterFunctionReactorLoadBalancerClientAutoConfiguration. 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 interfaceRegistrationA marker interface used by aServiceRegistry.
-