Interface ServiceInstanceFilter

All Superinterfaces:
org.springframework.core.Ordered

public interface ServiceInstanceFilter extends org.springframework.core.Ordered
Service Instance Filter interface. When custom service instance list filter, implement this interface and register it as a bean.
Author:
zhangbinhub
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.springframework.cloud.client.ServiceInstance>
    filterInstance(org.springframework.cloud.client.loadbalancer.Request<?> request, List<org.springframework.cloud.client.ServiceInstance> serviceInstances)
     

    Methods inherited from interface org.springframework.core.Ordered

    getOrder
  • Method Details

    • filterInstance

      List<org.springframework.cloud.client.ServiceInstance> filterInstance(org.springframework.cloud.client.loadbalancer.Request<?> request, List<org.springframework.cloud.client.ServiceInstance> serviceInstances)