Top Description Fields Methods
org.h2.store.fs

public Interface Recorder

Known Direct Implementers
org.h2.store.RecoverTester

A recorder for the recording file system.

Field Summary

Modifier and TypeField and Description
public static final int
CREATE_NEW_FILE

Create a new file.

public static final int
CREATE_TEMP_FILE

Create a temporary file.

public static final int
DELETE

Delete a file.

public static final int
OPEN_OUTPUT_STREAM

Open a file output stream.

public static final int
RENAME

Rename a file.

public static final int
TRUNCATE

Truncate the file.

public static final int
WRITE

Write to the file.

Method Summary

Modifier and TypeMethod and Description
public void
log(int
the operation
op
,
String
the file name or file name list
fileName
,
byte[]
the data or null
data
,
long
the value or 0
x
)

Record the method.

Field Detail

CREATE_NEW_FILEback to summary
public static final int CREATE_NEW_FILE

Create a new file.

CREATE_TEMP_FILEback to summary
public static final int CREATE_TEMP_FILE

Create a temporary file.

DELETEback to summary
public static final int DELETE

Delete a file.

OPEN_OUTPUT_STREAMback to summary
public static final int OPEN_OUTPUT_STREAM

Open a file output stream.

RENAMEback to summary
public static final int RENAME

Rename a file. The file name contains the source and the target file separated with a colon.

TRUNCATEback to summary
public static final int TRUNCATE

Truncate the file.

WRITEback to summary
public static final int WRITE

Write to the file.

Method Detail

logback to summary
public void log(int op, String fileName, byte[] data, long x)

Record the method.

Parameters
op:int

the operation

fileName:String

the file name or file name list

data:byte[]

the data or null

x:long

the value or 0