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 Closeable
close
in interface AutoCloseable
IOException
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.