private abstract static class ReadOnlyZKClient.Task extends Object implements Delayed
Modifier and Type | Field and Description |
---|---|
protected long |
time |
Modifier | Constructor and Description |
---|---|
private |
Task() |
Modifier and Type | Method and Description |
---|---|
void |
closed(IOException e) |
int |
compareTo(Delayed o) |
void |
connectFailed(IOException e) |
void |
exec(org.apache.zookeeper.ZooKeeper zk) |
long |
getDelay(TimeUnit unit) |
boolean |
needZk() |
protected long time
private Task()
public boolean needZk()
public void exec(org.apache.zookeeper.ZooKeeper zk)
public void connectFailed(IOException e)
public void closed(IOException e)
public int compareTo(Delayed o)
compareTo
in interface Comparable<Delayed>
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.