C
- The type of the decorated file system controller.@Immutable public abstract class FsLockModelDecoratingController<C extends FsController<? extends FsLockModel>> extends FsDecoratingController<FsLockModel,C>
FsLockModel
so that it can forward its additional method
calls to this model for the convenience of the sub-class.Modifier and Type | Field and Description |
---|---|
protected static int |
WAIT_TIMEOUT_MILLIS |
delegate
Modifier | Constructor and Description |
---|---|
protected |
FsLockModelDecoratingController(C controller)
Constructs a new decorating file system controller.
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkWriteLockedByCurrentThread() |
protected boolean |
isWriteLockedByCurrentThread() |
protected ReentrantReadWriteLock.ReadLock |
readLock() |
protected ReentrantReadWriteLock.WriteLock |
writeLock() |
getClosedIcon, getEntry, getInputSocket, getOpenIcon, getOutputSocket, getParent, isExecutable, isReadable, isReadOnly, isWritable, mknod, setReadOnly, setTime, setTime, sync, toString, unlink
getModel, getMountPoint, isTouched, setTouched
equals, hashCode, sync
protected static final int WAIT_TIMEOUT_MILLIS
protected FsLockModelDecoratingController(C controller)
controller
- the decorated file system controller.protected final void checkWriteLockedByCurrentThread() throws de.schlichtherle.truezip.fs.FsNeedsWriteLockException
de.schlichtherle.truezip.fs.FsNeedsWriteLockException
protected final boolean isWriteLockedByCurrentThread()
protected ReentrantReadWriteLock.ReadLock readLock()
protected ReentrantReadWriteLock.WriteLock writeLock()
Copyright © 2005-2012 Schlichtherle IT Services. All Rights Reserved.