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 java.lang.Object
implements DistributedStore


Constructor Summary
ZooStore()
           
ZooStore(java.lang.String basePath)
           
 
Method Summary
 byte[] get(java.lang.String path)
           
 java.util.List<java.lang.String> getChildren(java.lang.String path)
           
 void put(java.lang.String path, byte[] bs)
           
 void remove(java.lang.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(java.lang.String basePath)
         throws java.io.IOException
Throws:
java.io.IOException

ZooStore

public ZooStore()
         throws java.io.IOException
Throws:
java.io.IOException
Method Detail

get

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

getChildren

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

put

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

remove

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


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