|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.helidb.impl.txn.sc.AbstractFileManager
org.helidb.impl.txn.sc.SingleFileManager
public class SingleFileManager
This ShadowCopyTxnDatabaseFileManager
manages a
SingleDatabaseFile
.
Constructor Summary | |
---|---|
SingleFileManager(ReadWritableFile f,
DirectoryView tempDir)
Constructor. |
Method Summary | |
---|---|
DatabaseFiles |
copyDatabaseFiles()
Create a copy of the database file(s). |
DatabaseFiles |
getDatabaseFiles()
Get the database files. |
Methods inherited from class org.helidb.impl.txn.sc.AbstractFileManager |
---|
copyToTempFile |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SingleFileManager(ReadWritableFile f, DirectoryView tempDir)
f
- The database file.tempDir
- A directory where temporary files can be put.Method Detail |
---|
public DatabaseFiles copyDatabaseFiles()
ShadowCopyTxnDatabaseFileManager
DatabaseFiles
object representing the copied files.public DatabaseFiles getDatabaseFiles()
ShadowCopyTxnDatabaseFileManager
When this method is called on an object, it should always return a
DatabaseFiles
instance representing the same files.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |