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.

Field Summary
static int READ_LOCK
           
static int WRITE_LOCK
           
 
Method Summary
 boolean acquire()
           
 boolean acquire(int mode)
           
 void release()
           
 

Field Detail

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
Method Detail

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.