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