Package org.entityfs.lock.cmd

This package contains the LockCommand interface and a few implementations of it, and the LockCommandExecutor interface and an implementation of it.

See:
          Description

Interface Summary
LockCommand This is a marker interface for a lock command, such as "lock this entity's parent directory".
LockCommandExecutor The LockCommandExecutor's LockCommandExecutor.execute(Collection) method takes a collection of lock commands and executes them in an order that it decides to be appropriate.
 

Class Summary
AbstractLockCommand  
LockCollection The LockCollection contains a collection of locked EntityLock :s.
LockCommandExecutorImpl This is the default implementation of the LockCommandExecutor interface.
LockForReadingCommand LockCommand that says "lock this entity for reading".
LockForWritingCommand LockCommand that says "lock this entity for writing".
LockParentForReadingCommand LockCommand that says "lock this entity's parent directory for reading".
LockParentForWritingCommand LockCommand that says "lock this entity's parent for writing".
 

Exception Summary
MissingLockException Exception thrown by LockCollection methods.
 

Package org.entityfs.lock.cmd Description

This package contains the LockCommand interface and a few implementations of it, and the LockCommandExecutor interface and an implementation of it.

Since:
1.0
Author:
Karl Gustafsson