public abstract class BaseDirectory extends Directory
Directory.Directory.IndexInputSlicer| Modifier and Type | Method and Description |
|---|---|
void |
clearLock(String name)
Attempt to clear (forcefully unlock and remove) the
specified lock.
|
LockFactory |
getLockFactory()
Get the LockFactory that this Directory instance is
using for its locking implementation.
|
Lock |
makeLock(String name)
Construct a
Lock. |
void |
setLockFactory(LockFactory lockFactory)
Set the LockFactory that this Directory instance should
use for its locking implementation.
|
close, copy, createOutput, createSlicer, deleteFile, fileExists, fileLength, getLockID, listAll, openInput, sync, toStringpublic Lock makeLock(String name)
DirectoryLock.public void clearLock(String name) throws IOException
DirectoryclearLock in class Directoryname - name of the lock to be cleared.IOExceptionpublic void setLockFactory(LockFactory lockFactory) throws IOException
DirectorysetLockFactory in class DirectorylockFactory - instance of LockFactory.IOExceptionpublic LockFactory getLockFactory()
DirectorygetLockFactory in class DirectoryCopyright © 2010 - 2020 Adobe. All Rights Reserved