Class ServiceCombZoneAwareFilterAdapter
java.lang.Object
com.huaweicloud.servicecomb.discovery.loadbalancer.ServiceCombZoneAwareFilterAdapter
- All Implemented Interfaces:
ZoneAwareFilterAdapter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAvailableZone(org.springframework.cloud.client.ServiceInstance instance) getAvailableZone(org.springframework.cloud.client.serviceregistry.Registration registration) getRegion(org.springframework.cloud.client.ServiceInstance instance) getRegion(org.springframework.cloud.client.serviceregistry.Registration registration)
-
Constructor Details
-
ServiceCombZoneAwareFilterAdapter
public ServiceCombZoneAwareFilterAdapter()
-
-
Method Details
-
getRegion
- Specified by:
getRegionin interfaceZoneAwareFilterAdapter
-
getAvailableZone
- Specified by:
getAvailableZonein interfaceZoneAwareFilterAdapter
-
getRegion
- Specified by:
getRegionin interfaceZoneAwareFilterAdapter
-
getAvailableZone
public String getAvailableZone(org.springframework.cloud.client.serviceregistry.Registration registration) - Specified by:
getAvailableZonein interfaceZoneAwareFilterAdapter
-