Maintains a list of free file blocks with fixed capacity.
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| pack-priv long | |
| pack-priv long | |
| pack-priv int | |
| pack-priv final int | |
| pack-priv long | |
| pack-priv long | |
| pack-priv boolean | |
| pack-priv boolean | |
| private DoubleLongIndex | |
| private DoubleIntIndex | |
| private long | |
| private long | |
| private long | |
| private long | |
| pack-priv final int | |
| pack-priv final int | |
| private DoubleIntIndex | |
| pack-priv final DataSpaceManager |
| Access | Constructor and Description |
|---|---|
| public | TableSpaceManagerBlocks(DataSpaceManager spaceManager, int spaceId, int fileBlockSize, int capacity, int fileScale)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | addFileBlock(long blockFreePos, long blockLimit)
Implements org.
|
| public int | |
| public synchronized long | getFilePosition(int rowSize)
Implements org. Returns the position of a free block or throws |
| public long | |
| private long | |
| private boolean | |
| public int | |
| public boolean | |
| public void | initialiseFileBlock(LongLookup spaceList, long blockFreePos, long blockLimit)
Implements org.
|
| public boolean | |
| public synchronized void | release(long pos, int rowSize)
Implements org. Deallocates a deleted block |
| public void | |
| private void | |
| private void |
| capacity | back to summary |
|---|---|
| private final int capacity | |
| currentBlockFloor | back to summary |
|---|---|
| pack-priv long currentBlockFloor | |
| currentBlockLimit | back to summary |
|---|---|
| pack-priv long currentBlockLimit | |
| fileBlockIndex | back to summary |
|---|---|
| pack-priv int fileBlockIndex | |
| fileBlockSize | back to summary |
|---|---|
| pack-priv final int fileBlockSize | |
| freshBlockFreePos | back to summary |
|---|---|
| pack-priv long freshBlockFreePos | |
| freshBlockLimit | back to summary |
|---|---|
| pack-priv long freshBlockLimit | |
| isInitialised | back to summary |
|---|---|
| pack-priv boolean isInitialised | |
| isModified | back to summary |
|---|---|
| pack-priv boolean isModified | |
| oldLargeList | back to summary |
|---|---|
| private DoubleLongIndex oldLargeList | |
| oldList | back to summary |
|---|---|
| private DoubleIntIndex oldList | |
| releaseCount | back to summary |
|---|---|
| private long releaseCount | |
| requestCount | back to summary |
|---|---|
| private long requestCount | |
| requestGetCount | back to summary |
|---|---|
| private long requestGetCount | |
| requestSize | back to summary |
|---|---|
| private long requestSize | |
| scale | back to summary |
|---|---|
| pack-priv final int scale | |
| spaceID | back to summary |
|---|---|
| pack-priv final int spaceID | |
| spaceList | back to summary |
|---|---|
| private DoubleIntIndex spaceList | |
| spaceManager | back to summary |
|---|---|
| pack-priv final DataSpaceManager spaceManager | |
| TableSpaceManagerBlocks | back to summary |
|---|---|
| public TableSpaceManagerBlocks(DataSpaceManager spaceManager, int spaceId, int fileBlockSize, int capacity, int fileScale) | |
| addFileBlock | back to summary |
|---|---|
| public void addFileBlock(long blockFreePos, long blockLimit) Implements org. | |
| getFileBlockIndex | back to summary |
|---|---|
| public int getFileBlockIndex() | |
| getFilePosition | back to summary |
|---|---|
| public synchronized long getFilePosition(int rowSize) Implements org. Returns the position of a free block or throws | |
| getLostBlocksSize | back to summary |
|---|---|
| public long getLostBlocksSize() Implements org. | |
| getNewBlock | back to summary |
|---|---|
| private long getNewBlock(long rowSize) | |
| getNewMainBlock | back to summary |
|---|---|
| private boolean getNewMainBlock(long rowSize) | |
| getSpaceID | back to summary |
|---|---|
| public int getSpaceID() Implements org. | |
| hasFileRoom | back to summary |
|---|---|
| public boolean hasFileRoom(long blockSize) Implements org. | |
| initialiseFileBlock | back to summary |
|---|---|
| public void initialiseFileBlock(LongLookup spaceList, long blockFreePos, long blockLimit) Implements org. | |
| isDefaultSpace | back to summary |
|---|---|
| public boolean isDefaultSpace() Implements org. | |
| release | back to summary |
|---|---|
| public synchronized void release(long pos, int rowSize) Implements org. Doc from org. Deallocates a deleted block | |
| reset | back to summary |
|---|---|
| public void reset() Implements org. | |
| resetList | back to summary |
|---|---|
| private void resetList(boolean full) | |
| resetOldList | back to summary |
|---|---|
| private void resetOldList() | |