Uses of Class
org.rostore.v2.catalog.CatalogBlockIndices
Packages that use CatalogBlockIndices
Package
Description
All operation related to the catalog of blocks
Classes related to value read/write safe operations
Allocators root and secondary
Major classes that manage basic block sequence operations
-
Uses of CatalogBlockIndices in org.rostore.v2.catalog
Methods in org.rostore.v2.catalog that return CatalogBlockIndicesModifier and TypeMethodDescriptionCatalogBlockIndices.extract(int length) CachedCatalogBlockOperations.extractIndex(int blockNumber, boolean rebalance) This is the version ofCatalogBlockOperations.extractIndex(long, boolean)that uses internal cacheCatalogBlockOperations.extractIndex(long number, boolean rebalance) This function will extract the requested number of blocks from the catalog.CatalogBlockIndices.remove(long startIndex, long stopIndex) CatalogBlockIndices.remove(CatalogBlockIndices catalogBlockIndices) Removes what is included in this catalogMethods in org.rostore.v2.catalog with parameters of type CatalogBlockIndicesModifier and TypeMethodDescriptionvoidCachedCatalogBlockOperations.add(CatalogBlockIndices catalogBlockIndices, boolean rebalance) This is a version ofCatalogBlockOperations.add(CatalogBlockIndices, boolean)with the cachevoidCatalogBlockIndices.add(CatalogBlockIndices catalogBlockIndices) voidCatalogBlockOperations.add(CatalogBlockIndices catalogBlockIndices, boolean rebalance) Adds a set of blocks to the catalog.static CatalogBlockOperationsCatalogBlockOperations.create(BlockProvider blockProvider, CatalogBlockIndices catalogBlockIndices) Creates a new catalog.voidCachedCatalogBlockOperations.remove(CatalogBlockIndices catalogBlockIndices, boolean rebalance) This is a version ofCatalogBlockOperations.remove(CatalogBlockIndices, boolean)with the cacheCatalogBlockIndices.remove(CatalogBlockIndices catalogBlockIndices) Removes what is included in this catalogvoidCatalogBlockOperations.remove(CatalogBlockIndices catalogBlockIndices, boolean rebalance) Removes a set of blocks from the catalog.Method parameters in org.rostore.v2.catalog with type arguments of type CatalogBlockIndicesModifier and TypeMethodDescriptionvoidCachedCatalogBlockOperations.iterateAll(Consumer<CatalogBlockIndices> consumer) Iterates all blocks in the catalog, inclusive those from the cachevoidCatalogBlockOperations.iterateAll(Consumer<CatalogBlockIndices> entryConsumer) A function will iteratively provide all block indices in the catalogConstructors in org.rostore.v2.catalog with parameters of type CatalogBlockIndices -
Uses of CatalogBlockIndices in org.rostore.v2.data
Method parameters in org.rostore.v2.data with type arguments of type CatalogBlockIndicesModifier and TypeMethodDescriptionvoidDataReader.iterateIndices(Consumer<CatalogBlockIndices> consumer) Executed block by block with its content. -
Uses of CatalogBlockIndices in org.rostore.v2.media.block.allocator
Methods in org.rostore.v2.media.block.allocator that return CatalogBlockIndicesModifier and TypeMethodDescriptionAllocates a given number of blocks.provide a list of blocks to be usedMethods in org.rostore.v2.media.block.allocator with parameters of type CatalogBlockIndicesModifier and TypeMethodDescriptionvoidBlockAllocatorListener.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) voidBlockAllocatorListener.blocksFreed(String name, CatalogBlockIndices catalogBlockIndices, boolean rebalance) Notifies that the blocks have been freedvoidBlockVerifierListener.blocksFreed(String name, CatalogBlockIndices catalogBlockIndices, boolean rebalance) voidBlockAllocator.free(CatalogBlockIndices indices) Marks all the blocks in the provided index as freevoidBlockAllocatorInternal.free(CatalogBlockIndices indices, boolean rebalance) Free a set of blocksvoidBlockAllocatorListeners.notifyAllocated(String name, BlockType blockType, CatalogBlockIndices catalogBlockIndices, boolean rebalance) Notify all listeners in the collection that a set of new blocks has just been allocatedvoidBlockAllocatorListeners.notifyFreed(String name, CatalogBlockIndices catalogBlockIndices, boolean rebalance) Notify all listeners in the collection that a set of blocks has just been freed -
Uses of CatalogBlockIndices in org.rostore.v2.seq
Methods in org.rostore.v2.seq that return CatalogBlockIndicesMethods in org.rostore.v2.seq with parameters of type CatalogBlockIndicesModifier and TypeMethodDescriptionstatic <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 basisConstructors in org.rostore.v2.seq with parameters of type CatalogBlockIndicesModifierConstructorDescriptionBlockSequence(BlockProvider blockProvider, CatalogBlockIndices catalogBlockIndices, Function<BlockSequence<T>, T> factory, BlockType blockType) Create a new sequence.