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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Closes 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) int
size()
-
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
-