@Immutable public abstract class FsLockModelController extends FsModelController<FsLockModel>
FsLockModel so that it can forward calls to its additional
protected methods to this model for the convenience of sub-classes.FsLockModel| Modifier | Constructor and Description |
|---|---|
protected |
FsLockModelController(FsLockModel model)
Constructs a new file system controller for the given
concurrent file system model.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkWriteLockedByCurrentThread() |
protected boolean |
isWriteLockedByCurrentThread() |
protected ReentrantReadWriteLock.ReadLock |
readLock() |
protected ReentrantReadWriteLock.WriteLock |
writeLock() |
getModel, getMountPoint, isTouched, setTouchedequals, getEntry, getInputSocket, getOutputSocket, getParent, hashCode, isExecutable, isReadable, isReadOnly, isWritable, mknod, setReadOnly, setTime, setTime, sync, sync, sync, toString, unlinkprotected FsLockModelController(FsLockModel model)
model - the concurrent file system model.protected final void checkWriteLockedByCurrentThread()
throws FsNeedsWriteLockException
FsNeedsWriteLockExceptionprotected final boolean isWriteLockedByCurrentThread()
protected ReentrantReadWriteLock.ReadLock readLock()
protected ReentrantReadWriteLock.WriteLock writeLock()
Copyright © 2005-2012 Schlichtherle IT Services. All Rights Reserved.