public class ZookeeperServiceImporter extends Object implements io.vertx.servicediscovery.spi.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,
io.vertx.servicediscovery.spi.ServicePublisher publisher,
io.vertx.core.json.JsonObject configuration,
io.vertx.core.Future<Void> future) |
public void start(io.vertx.core.Vertx vertx,
io.vertx.servicediscovery.spi.ServicePublisher publisher,
io.vertx.core.json.JsonObject configuration,
io.vertx.core.Future<Void> future)
start in interface io.vertx.servicediscovery.spi.ServiceImporterpublic void close(io.vertx.core.Handler<Void> closeHandler)
close in interface io.vertx.servicediscovery.spi.ServiceImporterpublic 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.TreeCacheListenerExceptionCopyright © 2017. All rights reserved.