public interface RepositoryLockMechanism
| Modifier and Type | Method and Description |
|---|---|
void |
acquire()
Lock the repository home.
|
void |
init(String homeDir)
Initialize the instance for the given directory path.
|
void |
release()
Releases repository lock.
|
void init(String homeDir) throws RepositoryException
acquire() method.homeDir - directory pathRepositoryException - if the canonical path of the directory
can not be determinedvoid acquire()
throws RepositoryException
RepositoryException - if the repository lock can not be acquiredvoid release()
throws RepositoryException
RepositoryException - if the repository lock can not be releasedCopyright © 2004–2020 The Apache Software Foundation. All rights reserved.