Package org.h2.store.fs
Interface Recorder
- All Known Implementing Classes:
RecoverTester,TestReopen
public interface Recorder
A recorder for the recording file system.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCreate a new file.static final intCreate a temporary file.static final intDelete a file.static final intOpen a file output stream.static final intRename a file.static final intTruncate the file.static final intWrite to the file. -
Method Summary
-
Field Details
-
CREATE_NEW_FILE
static final int CREATE_NEW_FILECreate a new file.- See Also:
-
CREATE_TEMP_FILE
static final int CREATE_TEMP_FILECreate a temporary file.- See Also:
-
DELETE
static final int DELETEDelete a file.- See Also:
-
OPEN_OUTPUT_STREAM
static final int OPEN_OUTPUT_STREAMOpen a file output stream.- See Also:
-
RENAME
static final int RENAMERename a file. The file name contains the source and the target file separated with a colon.- See Also:
-
TRUNCATE
static final int TRUNCATETruncate the file.- See Also:
-
WRITE
static final int WRITEWrite to the file.- See Also:
-
-
Method Details
-
log
Record the method.- Parameters:
op- the operationfileName- the file name or file name listdata- the data or nullx- the value or 0
-