public class CuratorServiceAnnouncer extends Object implements ServiceAnnouncer
Constructor and Description |
---|
CuratorServiceAnnouncer(org.apache.curator.x.discovery.ServiceDiscovery<Void> discovery) |
@Inject public CuratorServiceAnnouncer(org.apache.curator.x.discovery.ServiceDiscovery<Void> discovery)
public void announce(DruidNode service)
announce
in interface ServiceAnnouncer
public void unannounce(DruidNode service)
unannounce
in interface ServiceAnnouncer
Copyright © 2011–2015. All rights reserved.