Interface DistributedStore
-
- All Known Implementing Classes:
ZooStore
public interface DistributedStoreAn abstract version of ZooKeeper that we can write tests against.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]get(String path)List<String>getChildren(String path)voidput(String path, byte[] bs)voidremove(String path)
-
-
-
Method Detail
-
getChildren
List<String> getChildren(String path) throws DistributedStoreException
- Throws:
DistributedStoreException
-
get
byte[] get(String path) throws DistributedStoreException
- Throws:
DistributedStoreException
-
put
void put(String path, byte[] bs) throws DistributedStoreException
- Throws:
DistributedStoreException
-
remove
void remove(String path) throws DistributedStoreException
- Throws:
DistributedStoreException
-
-