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 Closeable
close
in interface AutoCloseable
IOException
public int getCurrentSlot()
public String getActualPath()
Copyright © 2022 The Apache Software Foundation. All rights reserved.