| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv DataSpaceManagerBlocks. | |
| pack-priv final int | |
| pack-priv final int | |
| pack-priv final BlockObjectStore | |
| pack-priv final DataFileCache | |
| pack-priv final int | |
| pack-priv final TableSpaceManagerBlocks | |
| public static final int | |
| pack-priv final TableSpaceManagerBlocks | |
| pack-priv final BlockObjectStore | |
| pack-priv final IntIndex | |
| pack-priv final int | |
| public static final int | |
| pack-priv final int | |
| public static final int | |
| pack-priv DoubleIntArrayCachedObject | |
| pack-priv final BlockObjectStore | |
| pack-priv int | |
| pack-priv IntArrayCachedObject | |
| pack-priv final BlockObjectStore | |
| pack-priv final AtomicInteger | |
| pack-priv final IntKeyHashMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv DoubleIntIndex | checkDirectoryBitmaps(DirectoryBlockCachedObject mismatch)
return keys are file block indexes, values are space ids |
| pack-priv DoubleIntIndex | checkDirectorySpaces()
return keys are file block indexes, values are bad (off) space ids or tableIdDirectory when two bitmpas have the same pointer |
| private void | |
| private void | |
| private void | |
| private void | ensureDirectorySpaceAvailable(int blockCount)
The space for a new directory block must be added to the directorySpaceManager before createFileBlocksInDirectory is called, otherwise there is no space to create the bit-map |
| private int | |
| private int | |
| pack-priv int | findTableSpace(long position)
Returns space id returns - 1 if pointer is beyond the last allocated block |
| public void | |
| public void | freeTableSpace(int spaceId, LongLookup spaceList, long offset, long limit)
Implements org.
|
| private void | |
| pack-priv BlockObjectStore | |
| private int | |
| public TableSpaceManager | |
| private DirectoryBlockCachedObject | |
| private DirectoryBlockCachedObject | |
| private int | |
| public DirectoryBlockCachedObject[] | |
| pack-priv BlockObjectStore | |
| private int | |
| public int | |
| pack-priv int | |
| public long | getFileBlocks(int tableId, int blockCount)
Implements org. try available blocks first, then get fresh block |
| public int | |
| pack-priv BlockObjectStore | |
| public long | |
| private long | |
| private long | |
| public int | |
| pack-priv long | getPositionFromFileBlock(int fixedBlockPos)
input is in units of fixedBlockSizeUnit output is in units of dataFileScale |
| pack-priv BlockObjectStore | |
| public TableSpaceManager | |
| private boolean | |
| private void | |
| private void | |
| public void | |
| public void | initialiseTableSpace(TableSpaceManagerBlocks tableSpace)
Implements org.
|
| private void | |
| public boolean | |
| public boolean | |
| public void | |
| pack-priv void | |
| private void | setDirectoryBlocksAsTable(int tableId, int blockIndex, int blockCount)
index and blockCount always valid |
| ba | back to summary |
|---|---|
| pack-priv DataSpaceManagerBlocks. | |
| bitmapIntSize | back to summary |
|---|---|
| pack-priv final int bitmapIntSize | |
| bitmapStorageSize | back to summary |
|---|---|
| pack-priv final int bitmapStorageSize | |
| bitMapStore | back to summary |
|---|---|
| pack-priv final BlockObjectStore bitMapStore | |
| cache | back to summary |
|---|---|
| pack-priv final DataFileCache cache | |
| dataFileScale | back to summary |
|---|---|
| pack-priv final int dataFileScale | |
| defaultSpaceManager | back to summary |
|---|---|
| pack-priv final TableSpaceManagerBlocks defaultSpaceManager | |
| dirBlockSize | back to summary |
|---|---|
| public static final int dirBlockSize | |
| directorySpaceManager | back to summary |
|---|---|
| pack-priv final TableSpaceManagerBlocks directorySpaceManager | |
| directoryStore | back to summary |
|---|---|
| pack-priv final BlockObjectStore directoryStore | |
| emptySpaceList | back to summary |
|---|---|
| pack-priv final IntIndex emptySpaceList | |
| fileBlockItemCount | back to summary |
|---|---|
| pack-priv final int fileBlockItemCount | |
| fileBlockItemCountLimit | back to summary |
|---|---|
| public static final int fileBlockItemCountLimit | |
| fileBlockSize | back to summary |
|---|---|
| pack-priv final int fileBlockSize | |
| lastBlockListSize | back to summary |
|---|---|
| public static final int lastBlockListSize | |
| lastBlocks | back to summary |
|---|---|
| pack-priv DoubleIntArrayCachedObject lastBlocks | |
| lastBlockStore | back to summary |
|---|---|
| pack-priv final BlockObjectStore lastBlockStore | |
| released | back to summary |
|---|---|
| pack-priv int released | |
| rootBlock | back to summary |
|---|---|
| pack-priv IntArrayCachedObject rootBlock | |
| rootStore | back to summary |
|---|---|
| pack-priv final BlockObjectStore rootStore | |
| spaceIdSequence | back to summary |
|---|---|
| pack-priv final AtomicInteger spaceIdSequence | |
| spaceManagerList | back to summary |
|---|---|
| pack-priv final IntKeyHashMap<TableSpaceManager> spaceManagerList | |
| DataSpaceManagerBlocks | back to summary |
|---|---|
| public DataSpaceManagerBlocks(DataFileCache dataFileCache) | |
| checkDirectoryBitmaps | back to summary |
|---|---|
| pack-priv DoubleIntIndex checkDirectoryBitmaps(DirectoryBlockCachedObject mismatch) return keys are file block indexes, values are space ids | |
| checkDirectorySpaces | back to summary |
|---|---|
| pack-priv DoubleIntIndex checkDirectorySpaces() return keys are file block indexes, values are bad (off) space ids or tableIdDirectory when two bitmpas have the same pointer | |
| createDirectory | back to summary |
|---|---|
| private void createDirectory(int fileBlockIndex) | |
| createFileBlockInDirectory | back to summary |
|---|---|
| private void createFileBlockInDirectory(int fileBlockIndex, int tableId) | |
| createFileBlocksInDirectory | back to summary |
|---|---|
| private void createFileBlocksInDirectory(int fileBlockIndex, int blockCount, int tableId) | |
| ensureDirectorySpaceAvailable | back to summary |
|---|---|
| private void ensureDirectorySpaceAvailable(int blockCount) The space for a new directory block must be added to the directorySpaceManager before createFileBlocksInDirectory is called, otherwise there is no space to create the bit-map | |
| findLargestFreeSpace | back to summary |
|---|---|
| private int findLargestFreeSpace(int spaceId) | |
| findLastFreeSpace | back to summary |
|---|---|
| private int findLastFreeSpace(int spaceId) | |
| findTableSpace | back to summary |
|---|---|
| pack-priv int findTableSpace(long position) Returns space id returns - 1 if pointer is beyond the last allocated block | |
| freeTableSpace | back to summary |
|---|---|
| public void freeTableSpace(int spaceId) Implements org. | |
| freeTableSpace | back to summary |
|---|---|
| public void freeTableSpace(int spaceId, LongLookup spaceList, long offset, long limit) Implements org. | |
| freeTableSpacePart | back to summary |
|---|---|
| private void freeTableSpacePart(long position, int units) | |
| getBitMapStore | back to summary |
|---|---|
| pack-priv BlockObjectStore getBitMapStore() | |
| getBlockIndexLimit | back to summary |
|---|---|
| private int getBlockIndexLimit() | |
| getDefaultTableSpace | back to summary |
|---|---|
| public TableSpaceManager getDefaultTableSpace() Implements org. | |
| getDirectory | back to summary |
|---|---|
| private DirectoryBlockCachedObject getDirectory(int fileBlockIndex, boolean keep) | |
| getDirectoryByIndex | back to summary |
|---|---|
| private DirectoryBlockCachedObject getDirectoryByIndex(int indexInRoot, boolean keep) | |
| getDirectoryIndexLimit | back to summary |
|---|---|
| private int getDirectoryIndexLimit(int indexInRoot) | |
| getDirectoryList | back to summary |
|---|---|
| public DirectoryBlockCachedObject[] getDirectoryList() Implements org. | |
| getDirectoryStore | back to summary |
|---|---|
| pack-priv BlockObjectStore getDirectoryStore() | |
| getExistingBlockIndex | back to summary |
|---|---|
| private int getExistingBlockIndex(int tableId, int blockCount) | |
| getFileBlockItemCount | back to summary |
|---|---|
| public int getFileBlockItemCount() Implements org. | |
| getFileBlockPosFromPosition | back to summary |
|---|---|
| pack-priv int getFileBlockPosFromPosition(long position) | |
| getFileBlocks | back to summary |
|---|---|
| public long getFileBlocks(int tableId, int blockCount) Implements org. try available blocks first, then get fresh block | |
| getFileBlockSize | back to summary |
|---|---|
| public int getFileBlockSize() Implements org. | |
| getLastBlockStore | back to summary |
|---|---|
| pack-priv BlockObjectStore getLastBlockStore() | |
| getLostBlocksSize | back to summary |
|---|---|
| public long getLostBlocksSize() Implements org. | |
| getNewFileBlocks | back to summary |
|---|---|
| private long getNewFileBlocks(int tableId, int blockCount) | |
| getNewFileBlocksNoCheck | back to summary |
|---|---|
| private long getNewFileBlocksNoCheck(int tableId, int blockCount) | |
| getNewTableSpaceID | back to summary |
|---|---|
| public int getNewTableSpaceID() Implements org. | |
| getPositionFromFileBlock | back to summary |
|---|---|
| pack-priv long getPositionFromFileBlock(int fixedBlockPos) input is in units of fixedBlockSizeUnit output is in units of dataFileScale | |
| getRootStore | back to summary |
|---|---|
| pack-priv BlockObjectStore getRootStore() | |
| getTableSpace | back to summary |
|---|---|
| public TableSpaceManager getTableSpace(int spaceId) Implements org. | |
| hasFreeSpace | back to summary |
|---|---|
| private boolean hasFreeSpace(int spaceId, int blockIndex) | |
| initialiseNewSpaceDirectory | back to summary |
|---|---|
| private void initialiseNewSpaceDirectory() | |
| initialiseSpaceList | back to summary |
|---|---|
| private void initialiseSpaceList() | |
| initialiseSpaces | back to summary |
|---|---|
| public void initialiseSpaces() Implements org. | |
| initialiseTableSpace | back to summary |
|---|---|
| public void initialiseTableSpace(TableSpaceManagerBlocks tableSpace) Implements org. | |
| initialiseTableSpace | back to summary |
|---|---|
| private void initialiseTableSpace(TableSpaceManagerBlocks tableSpace, int blockIndex) | |
| isModified | back to summary |
|---|---|
| public boolean isModified() Implements org. | |
| isMultiSpace | back to summary |
|---|---|
| public boolean isMultiSpace() Implements org. | |
| reset | back to summary |
|---|---|
| public void reset() Implements org. | |
| setAsideBlocks | back to summary |
|---|---|
| pack-priv void setAsideBlocks(OrderedIntHashSet blocks) | |
| setDirectoryBlocksAsTable | back to summary |
|---|---|
| private void setDirectoryBlocksAsTable(int tableId, int blockIndex, int blockCount) index and blockCount always valid | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv BitMapCachedObject | |
| pack-priv int | |
| pack-priv int | |
| pack-priv DirectoryBlockCachedObject | |
| pack-priv int | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| pack-priv char | |
| pack-priv char | |
| pack-priv int | |
| pack-priv void | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv void | |
| private void | |
| pack-priv int | |
| pack-priv void | |
| pack-priv int |
| currentBitMap | back to summary |
|---|---|
| pack-priv BitMapCachedObject currentBitMap | |
| currentBlockIndex | back to summary |
|---|---|
| pack-priv int currentBlockIndex | |
| currentBlockOffset | back to summary |
|---|---|
| pack-priv int currentBlockOffset | |
| currentDir | back to summary |
|---|---|
| pack-priv DirectoryBlockCachedObject currentDir | |
| currentDirIndex | back to summary |
|---|---|
| pack-priv int currentDirIndex | |
| currentKeep | back to summary |
|---|---|
| pack-priv boolean currentKeep | |
| BlockAccessor | back to summary |
|---|---|
| private BlockAccessor() | |
| endBlockUpdate | back to summary |
|---|---|
| private void endBlockUpdate() | |
| getFreeBlockValue | back to summary |
|---|---|
| pack-priv char getFreeBlockValue() | |
| getFreeSpaceValue | back to summary |
|---|---|
| pack-priv char getFreeSpaceValue() | |
| getTableId | back to summary |
|---|---|
| pack-priv int getTableId() | |
| initialise | back to summary |
|---|---|
| pack-priv void initialise(boolean forUpdate) | |
| moveToBlock | back to summary |
|---|---|
| pack-priv boolean moveToBlock(int fileBlockIndex) | |
| nextBlock | back to summary |
|---|---|
| pack-priv boolean nextBlock() | |
| nextBlockForTable | back to summary |
|---|---|
| pack-priv boolean nextBlockForTable(int tableId) | |
| reset | back to summary |
|---|---|
| pack-priv void reset() | |
| resetVars | back to summary |
|---|---|
| private void resetVars() | |
| setRange | back to summary |
|---|---|
| pack-priv int setRange(int offset, int currentUnits) | |
| setTable | back to summary |
|---|---|
| pack-priv void setTable(int tableId) | |
| unsetRange | back to summary |
|---|---|
| pack-priv int unsetRange(int offset, int currentUnits) | |