Modifier and Type | Field and Description |
---|---|
protected File |
file |
protected FileLocks.WrappedLock |
readLock |
protected FileLocks.WrappedLock |
writeLock |
Modifier | Constructor and Description |
---|---|
protected |
LockHolder(File file) |
Modifier and Type | Method and Description |
---|---|
protected int |
decrementReferenceCount() |
protected void |
incrementReferenceCount() |
protected FileLocks.WrappedLock |
lock(boolean write,
boolean block) |
protected FileChannel |
lockedFileChannel() |
String |
toString() |
protected void |
unlock(Lock lock) |
protected final File file
protected final FileLocks.WrappedLock readLock
protected final FileLocks.WrappedLock writeLock
protected LockHolder(File file)
protected FileChannel lockedFileChannel()
protected void incrementReferenceCount()
protected int decrementReferenceCount()
protected FileLocks.WrappedLock lock(boolean write, boolean block) throws IOException
IOException
protected void unlock(Lock lock)
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.