public class ZooStore extends Object implements DistributedStore
| Modifier and Type | Method and Description |
|---|---|
byte[] |
get(String path) |
List<String> |
getChildren(String path) |
void |
put(String path,
byte[] bs) |
void |
remove(String path) |
public ZooStore(String basePath) throws IOException
IOExceptionpublic ZooStore()
throws IOException
IOExceptionpublic byte[] get(String path) throws DistributedStoreException
get in interface DistributedStoreDistributedStoreExceptionpublic List<String> getChildren(String path) throws DistributedStoreException
getChildren in interface DistributedStoreDistributedStoreExceptionpublic void put(String path, byte[] bs) throws DistributedStoreException
put in interface DistributedStoreDistributedStoreExceptionpublic void remove(String path) throws DistributedStoreException
remove in interface DistributedStoreDistributedStoreExceptionCopyright © 2011–2017 The Apache Software Foundation. All rights reserved.