Uses of Class
org.rostore.v2.media.Media
Packages that use Media
Package
Description
All operation related to the catalog of blocks
Classes related to the containers, shards
RoStore async classes for high-frequency massive concurrency
Classes related to value read/write safe operations
Major classes that manage basic access to the ro-store
Core Block-related functionalities
Allocators root and secondary
Transactional boundary
Major classes that manage basic block sequence operations
-
Uses of Media in org.rostore.v2.catalog
Methods in org.rostore.v2.catalog that return Media -
Uses of Media in org.rostore.v2.container
Methods in org.rostore.v2.container that return MediaMethods in org.rostore.v2.container with parameters of type MediaModifier and TypeMethodDescriptionstatic final voidContainer.checkFreeSpaceToCreateContainer(String name, Media media, ContainerMeta containerMeta) Constructors in org.rostore.v2.container with parameters of type MediaModifierConstructorDescriptionContainerListOperations(Media media, ContainerListProperties containerListProperties) Creates a new container listContainerListOperations(Media media, ContainerListHeader containerListHeader) Loads an existing container list -
Uses of Media in org.rostore.v2.container.async
Methods in org.rostore.v2.container.async that return MediaMethods in org.rostore.v2.container.async with parameters of type MediaModifier and TypeMethodDescriptionstatic AsyncContainersAsyncContainers.create(Media media, ContainerListProperties containerListProperties) static AsyncContainersAsyncContainers.create(Media media, ContainerListProperties containerListProperties, ExecutorService executorService) static AsyncContainersAsyncContainers.load(Media media, ExecutorService executorService, ContainerListHeader header) static AsyncContainersAsyncContainers.load(Media media, ContainerListHeader header) void -
Uses of Media in org.rostore.v2.data
Methods in org.rostore.v2.data with parameters of type MediaModifier and TypeMethodDescriptionstatic DataReaderOpens the data reader to start reading from the given block.static <T> TDataReader.readObject(Media media, long startIndex, Class<T> clazz) static voidDataReader.safeReader(Media media, long startIndex, Consumer<DataReader> dataReaderConsumer) static <T extends OutputStream>
voidDataReader.toOutputStream(Media media, long startIndex, T outputStream) Reads the data from the sequence starting at start index and writes it to the output stream. -
Uses of Media in org.rostore.v2.media
Methods in org.rostore.v2.media that return MediaModifier and TypeMethodDescriptionstatic MediaMedia.create(File file, MediaProperties mediaProperties) Creates a blank mediastatic MediaMedia.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.static <T> MediaMedia.create(File file, MediaProperties mediaProperties, Function<Media, T> headerFactory) Creates a new media and store a header class to the header of the mediastatic MediaOpens the media object from the existing filestatic <T> MediaMedia.open(File file, Class<T> headerClass, BiConsumer<Media, T> header) Opens a media, reads the header and provides it for further initializationstatic MediaMedia.open(File file, BiConsumer<Media, DataReader> headerStream) Opens a media, allows to read the header from a binary streamMethod parameters in org.rostore.v2.media with type arguments of type MediaModifier and TypeMethodDescriptionstatic MediaMedia.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.static <T> MediaMedia.create(File file, MediaProperties mediaProperties, Function<Media, T> headerFactory) Creates a new media and store a header class to the header of the mediastatic <T> MediaMedia.open(File file, Class<T> headerClass, BiConsumer<Media, T> header) Opens a media, reads the header and provides it for further initializationstatic MediaMedia.open(File file, BiConsumer<Media, DataReader> headerStream) Opens a media, allows to read the header from a binary streamConstructor parameters in org.rostore.v2.media with type arguments of type MediaModifierConstructorDescriptionprotectedMedia(File file, BiConsumer<Media, DataReader> headerStream) Load an existing mediaprotectedMedia(File file, MediaProperties mediaProperties, BiConsumer<Media, DataWriter> headerStream) Create a new media -
Uses of Media in org.rostore.v2.media.block
Methods in org.rostore.v2.media.block that return MediaModifier and TypeMethodDescriptionBlockProvider.getMedia()Provides an associatedMediaobjectInternalBlockProvider.getMedia()Provides an associatedMediaobjectMethods in org.rostore.v2.media.block with parameters of type MediaModifier and TypeMethodDescriptionstatic InternalBlockProviderCreates a block provider that contains a newBlockContainer.Constructors in org.rostore.v2.media.block with parameters of type Media -
Uses of Media in org.rostore.v2.media.block.allocator
Methods in org.rostore.v2.media.block.allocator that return MediaModifier and TypeMethodDescriptionBlockAllocator.getMedia()Provides parent mediaBlockAllocatorInternal.getMedia()The parent mediaMethods in org.rostore.v2.media.block.allocator with parameters of type MediaModifier and TypeMethodDescriptionstatic BlockAllocatorCreates a new root block allocator.static BlockAllocator -
Uses of Media in org.rostore.v2.media.block.container
Methods in org.rostore.v2.media.block.container that return MediaModifier and TypeMethodDescriptionBlockContainer.getMedia()A media object this container belongs toConstructors in org.rostore.v2.media.block.container with parameters of type MediaModifierConstructorDescriptionBlockContainer(Media media, int containerId) This should never be used directly UsenewBlockContainer()instead orInternalBlockProvider.create(BlockAllocator) -
Uses of Media in org.rostore.v2.seq
Constructors in org.rostore.v2.seq with parameters of type Media