org.apache.jackrabbit.core.state
Interface ISMLocking.WriteLock

Enclosing interface:
ISMLocking

public static interface ISMLocking.WriteLock


Method Summary
 ISMLocking.ReadLock downgrade()
          Downgrades this lock into a read lock.
 void release()
          Releases this lock.
 

Method Detail

release

void release()
Releases this lock.


downgrade

ISMLocking.ReadLock downgrade()
Downgrades this lock into a read lock. When this method returns this write lock is effectively released and the returned read lock must be used to further release the read lock.

Returns:
the read lock downgraded from this write lock.


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.