@InterfaceAudience.Private public class OfflineCallback extends Object implements org.apache.zookeeper.AsyncCallback.StringCallback
Modifier and Type | Class and Description |
---|---|
(package private) static class |
OfflineCallback.ExistCallback
Callback handler for the exists call that sets watcher on unassigned znodes.
|
org.apache.zookeeper.AsyncCallback.ACLCallback, org.apache.zookeeper.AsyncCallback.Children2Callback, org.apache.zookeeper.AsyncCallback.ChildrenCallback, org.apache.zookeeper.AsyncCallback.DataCallback, org.apache.zookeeper.AsyncCallback.StatCallback, org.apache.zookeeper.AsyncCallback.StringCallback, org.apache.zookeeper.AsyncCallback.VoidCallback
Modifier and Type | Field and Description |
---|---|
private OfflineCallback.ExistCallback |
callBack |
private AtomicInteger |
counter |
private ServerName |
destination |
private static org.apache.commons.logging.Log |
LOG |
private ZooKeeperWatcher |
zkw |
Constructor and Description |
---|
OfflineCallback(ZooKeeperWatcher zkw,
ServerName destination,
AtomicInteger counter,
Map<String,Integer> offlineNodesVersions) |
private static final org.apache.commons.logging.Log LOG
private final OfflineCallback.ExistCallback callBack
private final ZooKeeperWatcher zkw
private final ServerName destination
private final AtomicInteger counter
OfflineCallback(ZooKeeperWatcher zkw, ServerName destination, AtomicInteger counter, Map<String,Integer> offlineNodesVersions)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.