Class ZkServiceFinderHubBuilder<T,R extends ServiceRegistry<T>>
java.lang.Object
io.appform.ranger.core.finderhub.ServiceFinderHubBuilder<T,R>
io.appform.ranger.zookeeper.servicefinderhub.ZkServiceFinderHubBuilder<T,R>
public class ZkServiceFinderHubBuilder<T,R extends ServiceRegistry<T>>
extends ServiceFinderHubBuilder<T,R>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidpostBuild(ServiceFinderHub<T, R> serviceFinderHub) protected voidpreBuild()withConnectionString(String connectionString) withCuratorFramework(org.apache.curator.framework.CuratorFramework curatorFramework) withNamespace(String namespace) Methods inherited from class io.appform.ranger.core.finderhub.ServiceFinderHubBuilder
build, withExtraRefreshSignal, withExtraStartSignalConsumer, withExtraStopSignalConsumer, withRefreshFrequencyMs, withServiceDataSource, withServiceFinderFactory
-
Constructor Details
-
ZkServiceFinderHubBuilder
public ZkServiceFinderHubBuilder()
-
-
Method Details
-
withNamespace
-
withCuratorFramework
public ZkServiceFinderHubBuilder<T,R> withCuratorFramework(org.apache.curator.framework.CuratorFramework curatorFramework) -
withConnectionString
-
preBuild
protected void preBuild()- Specified by:
preBuildin classServiceFinderHubBuilder<T,R extends ServiceRegistry<T>>
-
postBuild
- Specified by:
postBuildin classServiceFinderHubBuilder<T,R extends ServiceRegistry<T>>
-