public class ExampleServer extends Object implements Closeable
Constructor and Description |
---|
ExampleServer(CuratorFramework client,
String path,
String serviceName,
String description) |
public ServiceInstance<InstanceDetails> getThisInstance()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2011–2013 The Apache Software Foundation. All rights reserved.