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
IOException
public ZooStore() throws IOException
IOException
public byte[] get(String path) throws DistributedStoreException
get
in interface DistributedStore
DistributedStoreException
public List<String> getChildren(String path) throws DistributedStoreException
getChildren
in interface DistributedStore
DistributedStoreException
public void put(String path, byte[] bs) throws DistributedStoreException
put
in interface DistributedStore
DistributedStoreException
public void remove(String path) throws DistributedStoreException
remove
in interface DistributedStore
DistributedStoreException
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.