Uses of Enum Class
org.rostore.v2.media.block.BlockType
Packages that use BlockType
Package
Description
Core Block-related functionalities
Allocators root and secondary
Transactional boundary
Major classes that manage basic block sequence operations
-
Uses of BlockType in org.rostore.v2.media.block
Methods in org.rostore.v2.media.block that return BlockTypeModifier and TypeMethodDescriptionMappedPhysicalBlock.getBlockType()static BlockTypeReturns the enum constant of this class with the specified name.static BlockType[]BlockType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.rostore.v2.media.block with parameters of type BlockTypeModifier and TypeMethodDescriptiondefault BlockBlockProvider.allocateBlock(BlockType blockType) Allocates a block with the help ofBlockAllocatorand adds it to the associatedBlockContainer.MappedPhysicalBlocks.get(BlockContainer blockContainer, long index, BlockType blockType) Creates aBlockContainerprivateBlock.protected voidMappedPhysicalBlock.setBlockType(BlockType blockType) Constructors in org.rostore.v2.media.block with parameters of type BlockType -
Uses of BlockType in org.rostore.v2.media.block.allocator
Methods in org.rostore.v2.media.block.allocator with parameters of type BlockTypeModifier and TypeMethodDescriptionlongAllocate one blockAllocates a given number of blocks.longAllocate just one blockprovide a list of blocks to be usedvoidBlockAllocatorListener.blocksAllocated(String name, BlockType blockType, CatalogBlockIndices catalogBlockIndices, boolean rebalance) Notifies that the blocks have been allocatedvoidBlockVerifierListener.blocksAllocated(String name, BlockType blockType, CatalogBlockIndices catalogBlockIndices, boolean rebalance) voidBlockAllocatorListeners.notifyAllocated(String name, BlockType blockType, CatalogBlockIndices catalogBlockIndices, boolean rebalance) Notify all listeners in the collection that a set of new blocks has just been allocated -
Uses of BlockType in org.rostore.v2.media.block.container
Methods in org.rostore.v2.media.block.container with parameters of type BlockType -
Uses of BlockType in org.rostore.v2.seq
Methods in org.rostore.v2.seq with parameters of type BlockTypeModifier and TypeMethodDescriptionstatic <T extends SequenceBlock>
TSequenceBlock.create(BlockProvider blockProvider, Function<BlockSequence<T>, T> factory, BlockType blockType) Creates a new block sequence and initialize a sequence block on its basisstatic <T extends SequenceBlock>
TSequenceBlock.create(BlockProvider blockProvider, CatalogBlockIndices catalogBlockIndices, Function<BlockSequence<T>, T> factory, BlockType blockType) Creates a new block sequence and initialize a sequence block on its basisstatic <T extends SequenceBlock>
TSequenceBlock.load(BlockProvider blockProvider, long startIndex, Function<BlockSequence<T>, T> factory, BlockType blockType) Loads block sequence and initialize a specific kind of sequence block on its basis.Constructors in org.rostore.v2.seq with parameters of type BlockTypeModifierConstructorDescriptionBlockSequence(BlockProvider blockProvider, long startBlockIndex, Function<BlockSequence<T>, T> factory, BlockType blockType) load existingBlockSequence(BlockProvider blockProvider, CatalogBlockIndices catalogBlockIndices, Function<BlockSequence<T>, T> factory, BlockType blockType) Create a new sequence.BlockSequence(BlockProvider blockProvider, BlockIndexSequence blockIndexSequence, Function<BlockSequence<T>, T> factory, BlockType blockType) Creates block sequence from cached blockIndex sequence