Package com.yahoo.vespa.curator
Interface Curator.FileCache
- Enclosing class:
- Curator
public static interface Curator.FileCache
A listenable cache of the content of a single curator path.
This wraps the Curator NodeCache recipe to allow us to mock it.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(org.apache.curator.framework.recipes.cache.NodeCacheListener listener) void
close()
org.apache.curator.framework.recipes.cache.ChildData
void
start()
-
Method Details
-
start
void start() -
addListener
void addListener(org.apache.curator.framework.recipes.cache.NodeCacheListener listener) -
getCurrentData
org.apache.curator.framework.recipes.cache.ChildData getCurrentData() -
close
void close()
-