org.apache.zookeeper
Class SolrZooKeeper

java.lang.Object
  extended by org.apache.zookeeper.ZooKeeper
      extended by org.apache.zookeeper.SolrZooKeeper

public class SolrZooKeeper
extends org.apache.zookeeper.ZooKeeper


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.zookeeper.ZooKeeper
org.apache.zookeeper.ZooKeeper.States
 
Field Summary
 
Fields inherited from class org.apache.zookeeper.ZooKeeper
cnxn
 
Constructor Summary
SolrZooKeeper(String connectString, int sessionTimeout, org.apache.zookeeper.Watcher watcher)
           
 
Method Summary
 org.apache.zookeeper.ClientCnxn getConnection()
           
 void pauseCnxn(long ms)
          Cause this ZooKeeper object to stop receiving from the ZooKeeperServer for the given number of milliseconds.
 
Methods inherited from class org.apache.zookeeper.ZooKeeper
addAuthInfo, close, create, create, delete, delete, exists, exists, exists, exists, getACL, getACL, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getData, getData, getData, getData, getSessionId, getSessionPasswd, getSessionTimeout, getState, register, setACL, setACL, setData, setData, sync, testableLocalSocketAddress, testableRemoteSocketAddress, testableWaitForShutdown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SolrZooKeeper

public SolrZooKeeper(String connectString,
                     int sessionTimeout,
                     org.apache.zookeeper.Watcher watcher)
              throws IOException
Throws:
IOException
Method Detail

getConnection

public org.apache.zookeeper.ClientCnxn getConnection()

pauseCnxn

public void pauseCnxn(long ms)
Cause this ZooKeeper object to stop receiving from the ZooKeeperServer for the given number of milliseconds.

Parameters:
ms - the number of milliseconds to pause.


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.