org.apache.accumulo.core.zookeeper
Interface IZooReader

All Known Implementing Classes:
ZooReader

public interface IZooReader


Method Summary
 boolean exists(String zPath)
           
 boolean exists(String zPath, org.apache.zookeeper.Watcher watcher)
           
 List<String> getChildren(String zPath)
           
 List<String> getChildren(String zPath, org.apache.zookeeper.Watcher watcher)
           
 byte[] getData(String zPath, org.apache.zookeeper.data.Stat stat)
           
 org.apache.zookeeper.data.Stat getStatus(String zPath)
           
 org.apache.zookeeper.data.Stat getStatus(String zPath, org.apache.zookeeper.Watcher watcher)
           
 void sync(String path)
           
 

Method Detail

getData

byte[] getData(String zPath,
               org.apache.zookeeper.data.Stat stat)
               throws org.apache.zookeeper.KeeperException,
                      InterruptedException
Throws:
org.apache.zookeeper.KeeperException
InterruptedException

getStatus

org.apache.zookeeper.data.Stat getStatus(String zPath)
                                         throws org.apache.zookeeper.KeeperException,
                                                InterruptedException
Throws:
org.apache.zookeeper.KeeperException
InterruptedException

getStatus

org.apache.zookeeper.data.Stat getStatus(String zPath,
                                         org.apache.zookeeper.Watcher watcher)
                                         throws org.apache.zookeeper.KeeperException,
                                                InterruptedException
Throws:
org.apache.zookeeper.KeeperException
InterruptedException

getChildren

List<String> getChildren(String zPath)
                         throws org.apache.zookeeper.KeeperException,
                                InterruptedException
Throws:
org.apache.zookeeper.KeeperException
InterruptedException

getChildren

List<String> getChildren(String zPath,
                         org.apache.zookeeper.Watcher watcher)
                         throws org.apache.zookeeper.KeeperException,
                                InterruptedException
Throws:
org.apache.zookeeper.KeeperException
InterruptedException

exists

boolean exists(String zPath)
               throws org.apache.zookeeper.KeeperException,
                      InterruptedException
Throws:
org.apache.zookeeper.KeeperException
InterruptedException

exists

boolean exists(String zPath,
               org.apache.zookeeper.Watcher watcher)
               throws org.apache.zookeeper.KeeperException,
                      InterruptedException
Throws:
org.apache.zookeeper.KeeperException
InterruptedException

sync

void sync(String path)
          throws org.apache.zookeeper.KeeperException,
                 InterruptedException
Throws:
org.apache.zookeeper.KeeperException
InterruptedException


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.