@Immutable @DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) public abstract class FsConcurrentModelController extends FsModelController<FsConcurrentModel>
FsConcurrentModel so that it can forward calls to its additional
protected methods to this model for the convenience of sub-classes.FsConcurrentModel| Modifier | Constructor and Description |
|---|---|
protected |
FsConcurrentModelController(FsConcurrentModel model)
Constructs a new file system controller for the given
concurrent file system model.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertNotReadLockedByCurrentThread(FsNotWriteLockedException ex) |
protected void |
assertWriteLockedByCurrentThread() |
protected boolean |
isWriteLockedByCurrentThread() |
protected ReentrantReadWriteLock.ReadLock |
readLock() |
protected ReentrantReadWriteLock.WriteLock |
writeLock() |
getModel, getMountPoint, isTouched, setTouchedequals, getClosedIcon, getEntry, getInputSocket, getOpenIcon, getOutputSocket, getParent, hashCode, isExecutable, isReadable, isReadOnly, isWritable, mknod, setReadOnly, setTime, setTime, sync, sync, toString, unlinkprotected FsConcurrentModelController(FsConcurrentModel model)
model - the concurrent file system model.protected final void assertNotReadLockedByCurrentThread(@CheckForNull FsNotWriteLockedException ex) throws FsNotWriteLockedException
FsNotWriteLockedExceptionprotected final void assertWriteLockedByCurrentThread()
throws FsNotWriteLockedException
FsNotWriteLockedExceptionprotected final boolean isWriteLockedByCurrentThread()
protected ReentrantReadWriteLock.ReadLock readLock()
protected ReentrantReadWriteLock.WriteLock writeLock()
Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.