Package org.rostore.v2.seq
Class BlockIndexSequences
java.lang.Object
org.rostore.v2.seq.BlockIndexSequences
This clas holds all the block sequences in the
Media object.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCloses the block sequence if it is not in use for theMediaProperties.getCloseUnusedSequencesAfterMillis()}filter(Function<BlockIndexSequence, Boolean> filter) <T extends SequenceBlock>
BlockSequence<T> get(long startIndex, Function<BlockIndexSequence, BlockSequence<T>> factory) intsize()
-
Constructor Details
-
BlockIndexSequences
-
-
Method Details
-
size
public int size() -
get
public <T extends SequenceBlock> BlockSequence<T> get(long startIndex, Function<BlockIndexSequence, BlockSequence<T>> factory) -
closeExpired
public void closeExpired()Closes the block sequence if it is not in use for theMediaProperties.getCloseUnusedSequencesAfterMillis()} -
filter
-