- <init>
Creates a new object on the indicated filename. The file is opened in read/write
mode.
- close
Commits and closes file.
- commit
Commits the current transaction by flushing all dirty buffers to disk.
- disableTransactions
Disables transactions: doesn't sync and doesn't use the transaction manager.
- discard
Discards a block (will not write the block even if it's dirty)
- get
Gets a block from the file. The returned byte array is the in-memory copy of the
record, and thus ca
- getFileName
Returns the file name.
- read
Utility method: Read a block from a RandomAccessFile
- release
Releases a block.
- releaseFromTransaction
Releases a node from the transaction list, if it was sitting there.
- rollback
Rollback the current transaction by discarding all dirty buffers
- showList
Prints contents of a list