| Package | Description |
|---|---|
| net.openhft.chronicle.bytes |
| Modifier and Type | Method and Description |
|---|---|
abstract MappedFile |
MappedBytes.mappedFile() |
static @NotNull MappedFile |
MappedFile.mappedFile(@NotNull File file,
long chunkSize)
Opens a chunked mapping using the default overlap size.
|
static @NotNull MappedFile |
MappedFile.mappedFile(@NotNull File file,
long chunkSize,
long overlapSize)
Creates and returns a MappedFile instance for the specified file with the given chunk size and overlap size.
|
static @NotNull MappedFile |
MappedFile.mappedFile(@NotNull File file,
long chunkSize,
long overlapSize,
boolean readOnly)
Creates and returns a MappedFile instance for the specified file with the given chunk size, overlap size, and read-only mode.
|
static @NotNull MappedFile |
MappedFile.mappedFile(@NotNull File file,
long capacity,
long chunkSize,
long overlapSize,
boolean readOnly)
Creates and returns a MappedFile instance with the specified file, capacity, chunk size,
overlap size, and read-only mode.
|
static @NotNull MappedFile |
MappedFile.mappedFile(@NotNull String filename,
long chunkSize)
Creates and returns a MappedFile instance for the specified file with the given chunk size.
|
static @NotNull MappedFile |
MappedFile.mappedFile(@NotNull String filename,
long chunkSize,
long overlapSize)
Creates and returns a MappedFile instance for the specified file with the given chunk size and overlap size.
|
static @NotNull MappedFile |
MappedFile.of(@NotNull File file,
long chunkSize,
long overlapSize,
boolean readOnly) |
static @NotNull MappedFile |
MappedFile.of(@NotNull File file,
long chunkSize,
long overlapSize,
int pageSize,
boolean readOnly)
Creates and returns a MappedFile instance with the specified file, chunk size, overlap size, pageSize
and read-only mode.
|
static @NotNull MappedFile |
MappedFile.ofSingle(@NotNull File file,
long capacity,
boolean readOnly)
Creates and returns a MappedFile instance representing a single chunk of the specified file.
|
static @NotNull MappedFile |
MappedFile.readOnly(@NotNull File file)
Creates and returns a read-only MappedFile instance for the specified file.
|
| Modifier and Type | Method and Description |
|---|---|
static MappedBytesStore |
MappedBytesStore.create(net.openhft.chronicle.core.io.ReferenceOwner owner,
MappedFile mappedFile,
long start,
long address,
long capacity,
long safeCapacity,
int pageSize)
Factory method mirroring the protected constructor.
|
@NotNull MappedBytesStore |
MappedBytesStoreFactory.create(net.openhft.chronicle.core.io.ReferenceOwner owner,
MappedFile mappedFile,
long start,
long address,
long capacity,
long safeCapacity,
int pageSize)
Creates a
MappedBytesStore for the given mapping parameters. |
static @NotNull MappedBytes |
MappedBytes.mappedBytes(@NotNull MappedFile rw)
Creates a
MappedBytes view for a pre-existing MappedFile. |
| Constructor and Description |
|---|
MappedBytesStore(net.openhft.chronicle.core.io.ReferenceOwner owner,
MappedFile mappedFile,
long start,
long address,
long capacity,
long safeCapacity,
int pageSize)
Constructs a
MappedBytesStore for a mapped region. |
Copyright © 2026 Chronicle Software Ltd. All rights reserved.