public class SlotZnode extends Object implements Closeable
| Constructor and Description |
|---|
SlotZnode(org.apache.curator.framework.CuratorFramework client,
String basePath,
String prefix,
String workerPrefix,
String data) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getActualPath() |
int |
getCurrentSlot() |
int |
getFallbackCount() |
boolean |
start(long timeout,
TimeUnit unit) |
public int getFallbackCount()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic int getCurrentSlot()
public String getActualPath()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.