org.geotools.index
Class LockManager

java.lang.Object
  extended byorg.geotools.index.LockManager

public class LockManager
extends java.lang.Object

DOCUMENT ME!

Author:
Tommaso Nolli

Field Summary
static short READ
           
static short WRITE
           
 
Constructor Summary
LockManager()
           
 
Method Summary
 Lock aquireExclusive()
          DOCUMENT ME!
 Lock aquireShared()
          DOCUMENT ME!
 void release(Lock lock)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

READ

public static final short READ
See Also:
Constant Field Values

WRITE

public static final short WRITE
See Also:
Constant Field Values
Constructor Detail

LockManager

public LockManager()
Method Detail

release

public void release(Lock lock)

aquireExclusive

public Lock aquireExclusive()
                     throws LockTimeoutException
DOCUMENT ME!

Returns:
Throws:
LockTimeoutException - DOCUMENT ME!

aquireShared

public Lock aquireShared()
                  throws LockTimeoutException
DOCUMENT ME!

Returns:
Throws:
LockTimeoutException - DOCUMENT ME!


Copyright © GeoTools. All Rights Reserved.