public abstract class BaseDirectory extends Directory
Directory.Directory.IndexInputSlicer| Modifier and Type | Method and Description |
|---|---|
void |
clearLock(java.lang.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(java.lang.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(java.lang.String name)
DirectoryLock.public void clearLock(java.lang.String name)
throws java.io.IOException
Directorypublic void setLockFactory(LockFactory lockFactory) throws java.io.IOException
DirectorysetLockFactory in class DirectorylockFactory - instance of LockFactory.java.io.IOExceptionpublic LockFactory getLockFactory()
DirectorygetLockFactory in class DirectoryCopyright © 2010 - 2024 Adobe. All Rights Reserved