Method Summary |
|
public void | close() Closes the store to future operations, releasing associated memory. |
public IndexOutput | createOutput(String name) Creates a new, empty file in the directory with the given name. |
public synchronized void | deleteFile(String name) Removes an existing file in the directory. |
final protected void | ensureOpen() |
final public boolean | fileExists(String name) Returns true iff the named file exists in this directory. |
final public long | fileLength(String name) Returns the length in bytes of a file in the directory. |
final public long | fileModified(String name) Returns the time the named file was last modified. |
final public synchronized String[] | list() Returns an array of strings, one for each file in the directory. |
public IndexInput | openInput(String name) Returns a stream reading an existing file. |
final public synchronized void | renameFile(String from, String to) Renames an existing file in the directory. |
final public synchronized long | sizeInBytes() Return total size in bytes of all files in this
directory. |
public void | touchFile(String name) Set the modified time of an existing file to now. |