com.sleepycat.je.log
Class FileHandle
java.lang.Object
com.sleepycat.je.log.FileHandle
class FileHandle
- extends java.lang.Object
A FileHandle embodies a File and its accompanying latch.
Constructor Summary |
FileHandle(java.io.RandomAccessFile file,
java.lang.String fileName,
EnvironmentImpl env,
boolean oldHeaderVersion)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileHandle
FileHandle(java.io.RandomAccessFile file,
java.lang.String fileName,
EnvironmentImpl env,
boolean oldHeaderVersion)
getFile
java.io.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 java.io.IOException
- Throws:
java.io.IOException
Copyright 2004-2006 Sleepycat, Inc. All Rights Reserved.