Interface SelectedInstanceCallback
- All Known Implementing Classes:
BlockingApiVersionServiceInstanceListSupplier,CachingServiceInstanceListSupplier,DelegatingServiceInstanceListSupplier,HealthCheckServiceInstanceListSupplier,HintBasedServiceInstanceListSupplier,ReactiveApiVersionServiceInstanceListSupplier,RequestBasedStickySessionServiceInstanceListSupplier,RetryAwareServiceInstanceListSupplier,SameInstancePreferenceServiceInstanceListSupplier,SubsetServiceInstanceListSupplier,WeightedServiceInstanceListSupplier,ZonePreferenceServiceInstanceListSupplier
public interface SelectedInstanceCallback
A callback interface that allows to pass the selected service instance data from the
LoadBalancer.
- Since:
- 2.2.7
- Author:
- Olga Maciaszek-Sharma
-
Method Summary
Modifier and TypeMethodDescriptionvoidselectedServiceInstance(org.springframework.cloud.client.ServiceInstance serviceInstance) Passes the selectedServiceInstanceas an argument.
-
Method Details
-
selectedServiceInstance
void selectedServiceInstance(org.springframework.cloud.client.ServiceInstance serviceInstance) Passes the selectedServiceInstanceas an argument.- Parameters:
serviceInstance- that has been selected
-