hu.elte.tribus.util
Class TransactionalFilesystemDirectory
java.lang.Object
org.apache.lucene.store.Directory
hu.elte.tribus.util.TransactionalFilesystemDirectory
public class TransactionalFilesystemDirectory
- extends org.apache.lucene.store.Directory
- Author:
- kocka
Method Summary |
void |
close()
|
org.apache.lucene.store.IndexOutput |
createOutput(java.lang.String arg0)
|
void |
deleteFile(java.lang.String arg0)
|
boolean |
fileExists(java.lang.String arg0)
|
long |
fileLength(java.lang.String arg0)
|
long |
fileModified(java.lang.String arg0)
|
java.lang.String[] |
list()
|
org.apache.lucene.store.Lock |
makeLock(java.lang.String arg0)
|
org.apache.lucene.store.IndexInput |
openInput(java.lang.String arg0)
|
void |
renameFile(java.lang.String arg0,
java.lang.String arg1)
|
void |
touchFile(java.lang.String arg0)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionalFilesystemDirectory
public TransactionalFilesystemDirectory()
close
public void close()
throws java.io.IOException
- Specified by:
close
in class org.apache.lucene.store.Directory
- Throws:
java.io.IOException
createOutput
public org.apache.lucene.store.IndexOutput createOutput(java.lang.String arg0)
throws java.io.IOException
- Specified by:
createOutput
in class org.apache.lucene.store.Directory
- Throws:
java.io.IOException
deleteFile
public void deleteFile(java.lang.String arg0)
throws java.io.IOException
- Specified by:
deleteFile
in class org.apache.lucene.store.Directory
- Throws:
java.io.IOException
fileExists
public boolean fileExists(java.lang.String arg0)
throws java.io.IOException
- Specified by:
fileExists
in class org.apache.lucene.store.Directory
- Throws:
java.io.IOException
fileLength
public long fileLength(java.lang.String arg0)
throws java.io.IOException
- Specified by:
fileLength
in class org.apache.lucene.store.Directory
- Throws:
java.io.IOException
fileModified
public long fileModified(java.lang.String arg0)
throws java.io.IOException
- Specified by:
fileModified
in class org.apache.lucene.store.Directory
- Throws:
java.io.IOException
list
public java.lang.String[] list()
throws java.io.IOException
- Specified by:
list
in class org.apache.lucene.store.Directory
- Throws:
java.io.IOException
makeLock
public org.apache.lucene.store.Lock makeLock(java.lang.String arg0)
- Specified by:
makeLock
in class org.apache.lucene.store.Directory
openInput
public org.apache.lucene.store.IndexInput openInput(java.lang.String arg0)
throws java.io.IOException
- Specified by:
openInput
in class org.apache.lucene.store.Directory
- Throws:
java.io.IOException
renameFile
public void renameFile(java.lang.String arg0,
java.lang.String arg1)
throws java.io.IOException
- Specified by:
renameFile
in class org.apache.lucene.store.Directory
- Throws:
java.io.IOException
touchFile
public void touchFile(java.lang.String arg0)
throws java.io.IOException
- Specified by:
touchFile
in class org.apache.lucene.store.Directory
- Throws:
java.io.IOException
Copyright © 2006-2007. All Rights Reserved.