Class ZooStore
- java.lang.Object
-
- org.apache.accumulo.server.master.state.ZooStore
-
- All Implemented Interfaces:
DistributedStore
public class ZooStore extends Object implements DistributedStore
-
-
Constructor Summary
Constructors Constructor Description ZooStore(ServerContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]get(String path)List<String>getChildren(String path)voidput(String path, byte[] bs)voidremove(String path)
-
-
-
Constructor Detail
-
ZooStore
public ZooStore(ServerContext context)
-
-
Method Detail
-
get
public byte[] get(String path) throws DistributedStoreException
- Specified by:
getin interfaceDistributedStore- Throws:
DistributedStoreException
-
getChildren
public List<String> getChildren(String path) throws DistributedStoreException
- Specified by:
getChildrenin interfaceDistributedStore- Throws:
DistributedStoreException
-
put
public void put(String path, byte[] bs) throws DistributedStoreException
- Specified by:
putin interfaceDistributedStore- Throws:
DistributedStoreException
-
remove
public void remove(String path) throws DistributedStoreException
- Specified by:
removein interfaceDistributedStore- Throws:
DistributedStoreException
-
-