| Package | Description |
|---|---|
| net.openhft.chronicle.bytes |
The Chronicle Bytes package provides low-level memory access wrappers with functionalities
akin to Java NIO's ByteBuffer.
|
| 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 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,
boolean readOnly) |
static @NotNull MappedBytes |
MappedBytes.mappedBytes(@NotNull File file,
long chunkSize,
long overlapSize,
int pageSize,
boolean readOnly)
Creates a MappedBytes instance that wraps a memory-mapped file divided into chunks of a specified size.
|
static @NotNull MappedBytes |
MappedBytes.mappedBytes(@NotNull MappedFile rw)
Create a MappedBytes for a MappedFile
|
static @NotNull MappedBytes |
MappedBytes.mappedBytes(@NotNull String filename,
long chunkSize)
Creates a MappedBytes instance that wraps a memory-mapped file divided into chunks of a specified size.
|
static @NotNull MappedBytes |
MappedBytes.readOnly(@NotNull File file)
Creates a MappedBytes instance that wraps a read-only memory-mapped file.
|
static @NotNull MappedBytes |
MappedBytes.singleMappedBytes(@NotNull File file,
long capacity)
Creates a MappedBytes instance that wraps a single memory-mapped file.
|
static @NotNull MappedBytes |
MappedBytes.singleMappedBytes(@NotNull File file,
long capacity,
boolean readOnly)
Creates a MappedBytes instance that wraps a single memory-mapped file.
|
static @NotNull MappedBytes |
MappedBytes.singleMappedBytes(@NotNull String filename,
long capacity)
Creates a MappedBytes instance that wraps a single memory-mapped file.
|
Copyright © 2024. All rights reserved.