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(Handler<Void> closeHandler)Closes the importer | 
| void | start(Vertx vertx,
     ServicePublisher publisher,
     JsonObject configuration,
     Promise<Void> future)Starts the importer. | 
public void start(Vertx vertx, ServicePublisher publisher, JsonObject configuration, Promise<Void> future)
ServiceImporterstart in interface ServiceImportervertx - the vertx instancepublisher - the service publisher instanceconfiguration - the bridge configuration if anyfuture - a future on which the bridge must report the completion of the startingpublic void close(Handler<Void> closeHandler)
ServiceImporterclose in interface ServiceImportercloseHandler - the handle to be notified when importer is closed, may be nullpublic void childEvent(org.apache.curator.framework.CuratorFramework curatorFramework,
                       org.apache.curator.framework.recipes.cache.TreeCacheEvent treeCacheEvent)
childEvent in interface org.apache.curator.framework.recipes.cache.TreeCacheListenerCopyright © 2021 Eclipse. All rights reserved.