com.sleepycat.je.log
Class FileHandle
java.lang.Object
com.sleepycat.je.log.FileHandle
class FileHandle
- extends Object
A FileHandle embodies a File and its accompanying latch.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileHandle
FileHandle(RandomAccessFile file,
String fileName,
EnvironmentImpl env,
boolean oldHeaderVersion)
getFile
RandomAccessFile getFile()
isOldHeaderVersion
boolean isOldHeaderVersion()
latch
void latch()
throws DatabaseException
- Throws:
DatabaseException
latchNoWait
boolean latchNoWait()
throws DatabaseException
- Throws:
DatabaseException
release
void release()
throws DatabaseException
- Throws:
DatabaseException
close
void close()
throws IOException
- Throws:
IOException
Copyright 2004-2005 Sleepycat, Inc. All Rights Reserved.