org.exist.util
Interface Lock
- All Known Implementing Classes:
- ReentrantReadWriteLock
- public interface Lock
- Author:
- wolf
To change this generated comment edit the template variable "typecomment":
Window>Preferences>Java>Templates.
To enable and disable the creation of type comments go to
Window>Preferences>Java>Code Generation.
READ_LOCK
public static final int READ_LOCK
- See Also:
- Constant Field Values
WRITE_LOCK
public static final int WRITE_LOCK
- See Also:
- Constant Field Values
acquire
public boolean acquire()
throws LockException
- Throws:
LockException
acquire
public boolean acquire(int mode)
throws LockException
- Throws:
LockException
release
public void release()
Copyright (C) Wolfgang Meier. All rights reserved.