org.entityfs.lock
Interface ReadWriteLockable

All Superinterfaces:
Lockable, ReadLockable, WriteLockable
All Known Subinterfaces:
ArchiveFileEntry<T,U>, Directory, DirectoryView, EFile, Entity, EntityAcceptingEntity<T>, EntityAcceptingEntityView<T>, EntityView, RandomlyAccessibleFile, ReadWritableFile
All Known Implementing Classes:
AbstractLockable, AbstractReadWritableFile, AbstractReadWriteLockableProxy, ByteArrayReadableFile, ManualEntityListable, ManualNamedReadableFile, PaxFileEntry, ReadWritableFileAdapter, TarFileEntry, UstarFileEntry, ZipFileEntry

public interface ReadWriteLockable
extends ReadLockable, WriteLockable

This interface combines the ReadLockable and WriteLockable interfaces. It is implemented by objects that can both be locked for reading and locked for writing.

Since:
1.0
Author:
Karl Gustafsson

Method Summary
 
Methods inherited from interface org.entityfs.lock.ReadLockable
getReadLock, isReadLockedByCurrentThread, lockForReading
 
Methods inherited from interface org.entityfs.lock.WriteLockable
getWriteLock, isWriteLockedByCurrentThread, lockForWriting