Uses of Class
org.rostore.v2.media.block.Block
Package
Description
Low-level operation to read/write key entries
Core Block-related functionalities
Transactional boundary
Major classes that manage basic block sequence operations
-
Uses of Block in org.rostore.v2.keys
Modifier and TypeMethodDescriptionVarSizeBlock.getBlock()
VarSizeMultiBlock.getBlock()
Provides a block associated with current positionModifier and TypeMethodDescriptionvoid
Initializes a new entry-based block at the provided block.void
Splits the current block into two at the point of offset.void
Splits the current block into two at the point of offset, adds the provided data at the beginning of the new block and move the rest from the original block afterwards. -
Uses of Block in org.rostore.v2.media.block
Modifier and TypeMethodDescriptiondefault Block
BlockProvider.allocateBlock
(BlockType blockType) Allocates a block with the help ofBlockAllocator
and adds it to the associatedBlockContainer
.protected Block
MappedPhysicalBlock.get
(BlockContainer blockContainer) MappedPhysicalBlocks.get
(BlockContainer blockContainer, long index, BlockType blockType) Creates aBlockContainer
privateBlock
. -
Uses of Block in org.rostore.v2.media.block.container
Modifier and TypeMethodDescriptionProvides a block to read and write -
Uses of Block in org.rostore.v2.seq
Modifier and TypeMethodDescriptionSequenceBlock.getBlock()
Get the block this sequence's block internal pointer points toBlockSequence.getBlockByIndex
(int seqIndex) Provides a block by the sequence number, starting from 0