Package io.airlift.discovery.client
Class MergingServiceSelector
java.lang.Object
io.airlift.discovery.client.MergingServiceSelector
- All Implemented Interfaces:
ServiceSelector
-
Constructor Summary
ConstructorsConstructorDescriptionMergingServiceSelector(ServiceSelector selector, Announcer announcer, NodeInfo nodeInfo) -
Method Summary
Modifier and TypeMethodDescriptiongetPool()getType()com.google.common.util.concurrent.ListenableFuture<List<ServiceDescriptor>> refresh()
-
Constructor Details
-
MergingServiceSelector
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceServiceSelector
-
getPool
- Specified by:
getPoolin interfaceServiceSelector
-
selectAllServices
- Specified by:
selectAllServicesin interfaceServiceSelector
-
refresh
- Specified by:
refreshin interfaceServiceSelector
-