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 Type
    Method
    Description
    void
    selectedServiceInstance(org.springframework.cloud.client.ServiceInstance serviceInstance)
    Passes the selected ServiceInstance as an argument.
  • Method Details

    • selectedServiceInstance

      void selectedServiceInstance(org.springframework.cloud.client.ServiceInstance serviceInstance)
      Passes the selected ServiceInstance as an argument.
      Parameters:
      serviceInstance - that has been selected