org.apache.lucene.store.je
Class File
java.lang.Object
org.apache.lucene.store.je.File
public class File
- extends Object
Port of Andi Vajda's DbDirectory to Java Edition of Berkeley Database
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
random
protected static Random random
key
protected com.sleepycat.je.DatabaseEntry key
data
protected com.sleepycat.je.DatabaseEntry data
length
protected long length
timeModified
protected long timeModified
name
protected String name
uuid
protected byte[] uuid
File
protected File(String name)
throws IOException
- Throws:
IOException
File
protected File(JEDirectory directory,
String name,
boolean create)
throws IOException
- Throws:
IOException
getName
protected String getName()
getKey
protected byte[] getKey()
throws IOException
- Throws:
IOException
getLength
protected long getLength()
getTimeModified
protected long getTimeModified()
exists
protected boolean exists(JEDirectory directory)
throws IOException
- Throws:
IOException
modify
protected void modify(JEDirectory directory,
long length,
long timeModified)
throws IOException
- Throws:
IOException
delete
protected void delete(JEDirectory directory)
throws IOException
- Throws:
IOException
rename
protected void rename(JEDirectory directory,
String name)
throws IOException
- Throws:
IOException
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.