Package org.eclipse.birt.core.archive
Interface IArchiveLockManager
public interface IArchiveLockManager
lock used by the report engine to synchronize the document archives. the call
sequence of such a locker should be:
Object lock = manager.lock("fileName"); synchronized(lock) { ... process ... } manager.unlock(lock).
-
Method Summary
-
Method Details
-
lock
lock the object named by "name"- Parameters:
name
- object name, the file name for file object.- Returns:
- a locker used to lock the object.
- Throws:
IOException
-
unlock
unlock the object locked by "lock".- Parameters:
lock
- the lock object return from lock().
-