org.apache.accumulo.server.master.state
Class ZooStore

java.lang.Object
  extended by org.apache.accumulo.server.master.state.ZooStore
All Implemented Interfaces:
DistributedStore

public class ZooStore
extends Object
implements DistributedStore


Constructor Summary
ZooStore()
           
ZooStore(String basePath)
           
 
Method Summary
 byte[] get(String path)
           
 List<String> getChildren(String path)
           
 void put(String path, byte[] bs)
           
 void remove(String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZooStore

public ZooStore(String basePath)
         throws IOException
Throws:
IOException

ZooStore

public ZooStore()
         throws IOException
Throws:
IOException
Method Detail

get

public byte[] get(String path)
           throws DistributedStoreException
Specified by:
get in interface DistributedStore
Throws:
DistributedStoreException

getChildren

public List<String> getChildren(String path)
                         throws DistributedStoreException
Specified by:
getChildren in interface DistributedStore
Throws:
DistributedStoreException

put

public void put(String path,
                byte[] bs)
         throws DistributedStoreException
Specified by:
put in interface DistributedStore
Throws:
DistributedStoreException

remove

public void remove(String path)
            throws DistributedStoreException
Specified by:
remove in interface DistributedStore
Throws:
DistributedStoreException


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.