org.helidb.impl.txn.sc
Class AbstractFileManager
java.lang.Object
org.helidb.impl.txn.sc.AbstractFileManager
- All Implemented Interfaces:
- ShadowCopyTxnDatabaseFileManager
- Direct Known Subclasses:
- SingleFileAndProxiedFileManager, SingleFileManager
public abstract class AbstractFileManager
- extends Object
- implements ShadowCopyTxnDatabaseFileManager
Abstract base class for ShadowCopyTxnDatabaseFileManager
implementations.
- Since:
- 1.0
- Author:
- Karl Gustafsson
- In_jar:
- helidb-shadow_copy_txn
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFileManager
public AbstractFileManager()
copyToTempFile
protected EFile copyToTempFile(ReadWritableFile f,
DirectoryView tmpDir)
- Copy the contents of the supplied file to a new file in the temporary
directory.
- Parameters:
f
- The file to copy.tmpDir
- The directory where the new file should be created.
- Returns:
- The copy.