Class TestingDiscoveryModule
- java.lang.Object
-
- io.airlift.discovery.client.testing.TestingDiscoveryModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class TestingDiscoveryModule extends Object implements com.google.inject.Module
-
-
Constructor Summary
Constructors Constructor Description TestingDiscoveryModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(com.google.inject.Binder binder)MergingServiceSelectorFactorycreateMergingServiceSelectorFactory(SimpleServiceSelectorFactory factory, Announcer announcer, NodeInfo nodeInfo)
-
-
-
Method Detail
-
configure
public void configure(com.google.inject.Binder binder)
- Specified by:
configurein interfacecom.google.inject.Module
-
createMergingServiceSelectorFactory
@Provides @Singleton public MergingServiceSelectorFactory createMergingServiceSelectorFactory(SimpleServiceSelectorFactory factory, Announcer announcer, NodeInfo nodeInfo)
-
-