List of usage examples for org.apache.zookeeper ZooKeeper subclass-usage
From source file com.cc.zk.common.CeZooKeeper.java
public class CeZooKeeper extends ZooKeeper { final Set<Thread> spawnedThreads = new CopyOnWriteArraySet<Thread>(); // for test debug //static Map<SolrZooKeeper,Exception> clients = new ConcurrentHashMap<SolrZooKeeper,Exception>();
From source file com.fiberhome.vapp.inspector.common.ZkClient.java
/** * @author vv * */ public class ZkClient extends ZooKeeper {
From source file com.linkedin.d2.discovery.stores.zk.RetryZooKeeper.java
/**
* This class extends the vanilla ZooKeeper and retries operations when ConnectionLossException happens.
* Asynchronous operation functions are overridden. More specifically, only the asynchronous operation
* functions used in d2 are overridden to retry when loss happens.
* <p>
* All other code that uses ZooKeeper directly won't be affected, except a few lines in ZKConnection.
From source file com.liveramp.hank.zookeeper.ZooKeeperPlus.java
public class ZooKeeperPlus extends ZooKeeper { private static final Logger LOG = LoggerFactory.getLogger(ZooKeeperPlus.class); private static final List<ACL> DEFAULT_ACL = Ids.OPEN_ACL_UNSAFE; private static final CreateMode DEFAULT_CREATE_MODE = CreateMode.PERSISTENT;
From source file com.wzm.github.plugin.zk.ZooKeeperRetry.java
/** * @author Colin * */ class ZooKeeperRetry extends ZooKeeper { // private static Logger logger =
From source file com.zookeeper.retry.ZooKeeperRetry.java
/** * A Class which extends {@link ZooKeeper} and will automatically retry calls to * zookeeper if a {@link KeeperException.ConnectionLossException} occurs */ public class ZooKeeperRetry extends ZooKeeper {
From source file jp.queuelinker.system.net.ZookeeperConnection.java
/** * */ public class ZookeeperConnection extends ZooKeeper { /**
From source file org.apache.blur.zookeeper.ZooKeeperClient.java
public class ZooKeeperClient extends ZooKeeper { private static final Log LOG = LogFactory.getLog(ZooKeeperClient.class); private final int internalSessionTimeout; public ZooKeeperClient(String connectString, int sessionTimeout, Watcher watcher) throws IOException {
From source file org.apache.bookkeeper.zookeeper.BkZooKeeperClient.java
/**
* Provide a zookeeper client to handle session expire.
*
* Note this is copied from BK ZooKeeperClient class. The only addition here is that it allows to specify read-only mode
* which we use when connecting to global ZK.
*
From source file org.apache.bookkeeper.zookeeper.ZooKeeperClient.java
/** * Provide a zookeeper client to handle session expire */ public class ZooKeeperClient extends ZooKeeper implements Watcher { final static Logger logger = LoggerFactory.getLogger(ZooKeeperClient.class);