Interface DistributedStore
-
- All Known Implementing Classes:
ZooStore
public interface DistributedStore
An 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)
void
put(String path, byte[] bs)
void
remove(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
-
-