Package org.apache.labs.bananadb.store.lock

Interface Summary
LockListener  
 

Class Summary
Lock An interprocess mutex lock.
Lock.With<T> Utility class for executing code with exclusive access.
LockFactory Base class for Locking implementation.
LockStressTest Simple standalone tool that forever acquires & releases a lock using a specific LockFactory.
LockVerifyServer Simple standalone server that must be running when you use VerifyingLockFactory.
NativeFSLockFactory Implements LockFactory using native OS file locks.
NoLockFactory Use this LockFactory to disable locking entirely.
SimpleFSLockFactory Implements LockFactory using File.createNewFile().
SingleInstanceLockFactory Implements LockFactory for a single in-process instance, meaning all locking will take place through this one instance.
VerifyingLockFactory A LockFactory that wraps another LockFactory and verifies that each lock obtain/release is "correct" (never results in two processes holding the lock at the same time).
 

Exception Summary
LockObtainFailedException This exception is thrown when the write.lock could not be acquired.
LockReleaseFailedException This exception is thrown when the write.lock could not be released.
NoSuchDirectoryException This exception is thrown when you try to list a non-existent directory.
 



Copyright © 2009 Apache Software Foundation. All Rights Reserved.