Uses of Class
org.rostore.v2.data.DataWriter
Package
Description
Classes related to value read/write safe operations
Major classes that manage basic access to the ro-store
-
Uses of DataWriter in org.rostore.v2.data
Modifier and TypeMethodDescriptionstatic DataWriter
DataWriter.open
(BlockAllocator blockAllocator, long startIndex) Opens the data writer at the specific starting block indexModifier and TypeMethodDescriptionstatic long
DataWriter.safeWriter
(BlockAllocator blockAllocator, long startIndex, Consumer<DataWriter> dataWriterConsumer) Write the data from the unknown source to the storage in a safe mode.static long
DataWriter.safeWriter
(BlockAllocator blockAllocator, Consumer<DataWriter> dataWriterConsumer) Write the data from the unknown source to the storage in a safe mode. -
Uses of DataWriter in org.rostore.v2.media
Modifier and TypeMethodDescriptionstatic Media
Media.create
(File file, MediaProperties mediaProperties, BiConsumer<Media, DataWriter> headerStream) Creates a new media and store with an option to store to headers stream of the media.ModifierConstructorDescriptionprotected
Media
(File file, MediaProperties mediaProperties, BiConsumer<Media, DataWriter> headerStream) Create a new media