public class DefaultServiceDiscoveryCustomizer extends Object implements ServiceDiscoveryCustomizer
Modifier and Type | Field and Description |
---|---|
protected org.apache.curator.framework.CuratorFramework |
curator |
protected org.apache.curator.x.discovery.details.InstanceSerializer<ZookeeperInstance> |
instanceSerializer |
protected ZookeeperDiscoveryProperties |
properties |
Constructor and Description |
---|
DefaultServiceDiscoveryCustomizer(org.apache.curator.framework.CuratorFramework curator,
ZookeeperDiscoveryProperties properties,
org.apache.curator.x.discovery.details.InstanceSerializer<ZookeeperInstance> instanceSerializer) |
Modifier and Type | Method and Description |
---|---|
org.apache.curator.x.discovery.ServiceDiscovery<ZookeeperInstance> |
customize(org.apache.curator.x.discovery.ServiceDiscoveryBuilder<ZookeeperInstance> builder) |
protected org.apache.curator.framework.CuratorFramework curator
protected ZookeeperDiscoveryProperties properties
protected org.apache.curator.x.discovery.details.InstanceSerializer<ZookeeperInstance> instanceSerializer
public DefaultServiceDiscoveryCustomizer(org.apache.curator.framework.CuratorFramework curator, ZookeeperDiscoveryProperties properties, org.apache.curator.x.discovery.details.InstanceSerializer<ZookeeperInstance> instanceSerializer)
public org.apache.curator.x.discovery.ServiceDiscovery<ZookeeperInstance> customize(org.apache.curator.x.discovery.ServiceDiscoveryBuilder<ZookeeperInstance> builder)
customize
in interface ServiceDiscoveryCustomizer
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.