Class RepositoryLock

  • All Implemented Interfaces:
    RepositoryLockMechanism

    public class RepositoryLock
    extends Object
    implements 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. The lock mechanism must also work consistently on a variety of operating systems and JVM implementations.
    See Also:
    JCR-213, JCR-233, JCR-254, JCR-912, JCR-933