public class ZookeeperServiceImporter extends Object implements ServiceImporter, org.apache.curator.framework.recipes.cache.TreeCacheListener
Constructor and Description |
---|
ZookeeperServiceImporter() |
Modifier and Type | Method and Description |
---|---|
void |
childEvent(org.apache.curator.framework.CuratorFramework curatorFramework,
org.apache.curator.framework.recipes.cache.TreeCacheEvent treeCacheEvent) |
void |
close(io.vertx.core.Handler<Void> closeHandler) |
void |
start(io.vertx.core.Vertx vertx,
ServicePublisher publisher,
io.vertx.core.json.JsonObject configuration,
io.vertx.core.Future<Void> future) |
public void start(io.vertx.core.Vertx vertx, ServicePublisher publisher, io.vertx.core.json.JsonObject configuration, io.vertx.core.Future<Void> future)
start
in interface ServiceImporter
public void close(io.vertx.core.Handler<Void> closeHandler)
close
in interface ServiceImporter
public void childEvent(org.apache.curator.framework.CuratorFramework curatorFramework, org.apache.curator.framework.recipes.cache.TreeCacheEvent treeCacheEvent) throws Exception
childEvent
in interface org.apache.curator.framework.recipes.cache.TreeCacheListener
Exception
Copyright © 2017. All rights reserved.