Package com.yahoo.vespa.curator.api
Interface VespaCurator
- All Known Implementing Classes:
Curator
,MockCurator
public interface VespaCurator
A client for a ZooKeeper cluster running inside Vespa. Applications that want to use ZooKeeper can inject this in
their code.
- Author:
- mpolden
-
Method Summary
Modifier and TypeMethodDescriptionCreate and acquire a re-entrant lock in given path.
-
Method Details
-
lock
Create and acquire a re-entrant lock in given path. This blocks until the lock is acquired or timeout elapses.
-