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 Detail

      • lock

        AutoCloseable lock​(com.yahoo.path.Path path,
                           Duration timeout)
        Create and acquire a re-entrant lock in given path. This blocks until the lock is acquired or timeout elapses.