Interface RepositoryLockMechanism

  • All Known Implementing Classes:
    CooperativeFileLock, RepositoryLock

    public interface RepositoryLockMechanism
    Exclusive lock on a repository home directory. This class encapsulates collective experience on how to acquire an exclusive lock on a given directory. The lock is expected to be exclusive both across process boundaries and within a single JVM.