| Package | Description |
|---|---|
| jdbm.recman |
Core classes for managing persistent objects and processing transactions.
|
| Modifier and Type | Field and Description |
|---|---|
private BlockIo |
FileHeader.block
The BlockIo used to store the FileHeader
|
(package private) BlockIo |
PhysicalRowId.block |
private BlockIo |
RecordHeader.block |
protected BlockIo |
PageHeader.blockIo
the page header block this view is associated with
|
private BlockIo |
PageManager.headerBuf
recordFile header containing block
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.HashMap<java.lang.Long,BlockIo> |
RecordFile.dirty
The map of dirty pages (page being modified)
|
private java.util.LinkedList<BlockIo> |
RecordFile.free
The list of free pages
|
private java.util.HashMap<java.lang.Long,BlockIo> |
RecordFile.inTxn
The map of page in a transaction
|
private java.util.HashMap<java.lang.Long,BlockIo> |
RecordFile.inUse
The map of pages being currently used
|
| Modifier and Type | Method and Description |
|---|---|
(package private) BlockIo |
RecordFile.get(long blockId)
Gets a block from the file.
|
private BlockIo |
RecordFile.getNewBlockIo(long blockId)
Returns a new BlockIo.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
TransactionManager.add(BlockIo block)
Indicates the block is part of the transaction.
|
int |
TransactionManager.BlockIoComparator.compare(BlockIo block1,
BlockIo block2) |
(package private) void |
RecordFile.discard(BlockIo block)
Discards a block (will not write the block even if it's dirty)
|
(package private) static DataPage |
DataPage.getDataPageView(BlockIo blockIo)
Factory method to create or return a data page for the indicated block.
|
(package private) static FreeLogicalRowIdPage |
FreeLogicalRowIdPage.getFreeLogicalRowIdPageView(BlockIo blockIo)
Factory method to create or return a data page for the indicated block.
|
(package private) static FreePhysicalRowIdPage |
FreePhysicalRowIdPage.getFreePhysicalRowIdPageView(BlockIo block)
Factory method to create or return a data page for the indicated block.
|
(package private) static TranslationPage |
TranslationPage.getTranslationPageView(BlockIo blockIo)
Factory method to create or return a data page for the indicated block.
|
(package private) static PageHeader |
PageHeader.getView(BlockIo blockIo)
Factory method to create or return a page header for the indicated block.
|
(package private) void |
RecordFile.release(BlockIo block)
Releases a block.
|
(package private) void |
RecordFile.releaseFromTransaction(BlockIo node,
boolean recycle)
Releases a node from the transaction list, if it was sitting there.
|
(package private) void |
RecordFile.sync(BlockIo blockIo)
Synchronizes a BlockIo to disk.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
TransactionManager.discardBlocks(java.util.List<BlockIo> blocks)
Discards the indicated blocks and notify the owner.
|
private void |
TransactionManager.setClean(java.util.List<BlockIo> blocks)
Set clean flag on the blocks.
|
private void |
RecordFile.showList(java.util.Iterator<BlockIo> i)
Prints contents of a list
|
private void |
TransactionManager.synchronizeBlocks(java.util.Iterator<BlockIo> blockIterator,
boolean fromCore)
Synchronizes the indicated blocks with the owner.
|
| Constructor and Description |
|---|
DataPage(BlockIo block)
Constructs a data page view from the indicated block.
|
FileHeader(BlockIo block,
boolean isNew)
Constructs a FileHeader object from a block.
|
FreeLogicalRowIdPage(BlockIo blockIo)
Constructs a data page view from the indicated block.
|
FreePhysicalRowId(BlockIo block,
short pos)
Constructs a physical rowid from the indicated data starting at
the indicated position.
|
FreePhysicalRowIdPage(BlockIo block)
Constructs a data page view from the indicated block.
|
PageHeader(BlockIo blockIo)
Constructs a PageHeader object from a block
|
PageHeader(BlockIo blockIo,
short type)
Constructs a new PageHeader of the indicated type.
|
PhysicalRowId(BlockIo block,
short pos)
Constructs a physical rowid from the indicated data starting at the
indicated position.
|
RecordHeader(BlockIo block,
short pos)
Constructs a record header from the indicated data starting at the
indicated position.
|
TranslationPage(BlockIo blockIo)
Constructs a data page view from the indicated block.
|