| Package | Description |
|---|---|
| net.openhft.chronicle.bytes |
| Modifier and Type | Method and Description |
|---|---|
abstract MappedBytes |
MappedFile.createBytesFor()
Creates a MappedBytes object for this mapped file.
|
static @NotNull MappedBytes |
MappedBytes.mappedBytes(@NotNull File file,
long chunkSize)
Creates a MappedBytes instance that wraps a memory-mapped file divided into chunks of a specified size.
|
static @NotNull MappedBytes |
MappedBytes.mappedBytes(@NotNull File file,
long chunkSize,
long overlapSize)
Creates a chunked mapping with a specified overlap between chunks.
|
static @NotNull MappedBytes |
MappedBytes.mappedBytes(@NotNull File file,
long chunkSize,
long overlapSize,
boolean readOnly)
Convenience overload using the default page size.
|
static @NotNull MappedBytes |
MappedBytes.mappedBytes(@NotNull File file,
long chunkSize,
long overlapSize,
int pageSize,
boolean readOnly)
Creates a chunked mapping with explicit overlap, page size and read-only option.
|
static @NotNull MappedBytes |
MappedBytes.mappedBytes(@NotNull MappedFile rw)
Creates a
MappedBytes view for a pre-existing MappedFile. |
static @NotNull MappedBytes |
MappedBytes.mappedBytes(@NotNull String filename,
long chunkSize)
Creates a chunked mapping for the given file.
|
static @NotNull MappedBytes |
MappedBytes.readOnly(@NotNull File file)
Maps the given file in read-only mode.
|
static @NotNull MappedBytes |
MappedBytes.singleMappedBytes(@NotNull File file,
long capacity)
As
singleMappedBytes(String, long) but accepting a File instance. |
static @NotNull MappedBytes |
MappedBytes.singleMappedBytes(@NotNull File file,
long capacity,
boolean readOnly)
Creates a single mapping for the whole file with explicit read-only option.
|
static @NotNull MappedBytes |
MappedBytes.singleMappedBytes(@NotNull String filename,
long capacity)
Creates a
MappedBytes covering the entire file as a single mapping. |
Copyright © 2026 Chronicle Software Ltd. All rights reserved.