| Package | Description |
|---|---|
| net.openhft.chronicle.bytes |
The Chronicle Bytes package provides low-level memory access wrappers with functionalities
akin to Java NIO's ByteBuffer.
|
| net.openhft.chronicle.bytes.internal |
This package and any and all sub-packages contains strictly internal classes for this Chronicle library.
|
| Modifier and Type | Method and Description |
|---|---|
abstract MappedBytes |
MappedFile.createBytesFor()
Creates a MappedBytes object for this mapped file.
|
abstract MappedBytes |
MappedBytes.disableThreadSafetyCheck(boolean disableThreadSafetyCheck)
Deprecated.
|
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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ChunkedMappedBytes
Bytes to wrap memory mapped data.
|
class |
CommonMappedBytes
Bytes to wrap memory mapped data.
|
class |
SingleMappedBytes
A class that extends the
CommonMappedBytes to provide a mechanism to wrap memory-mapped data. |
| Modifier and Type | Method and Description |
|---|---|
MappedBytes |
ChunkedMappedFile.createBytesFor() |
MappedBytes |
SingleMappedFile.createBytesFor()
Creates a new SingleMappedBytes for this mapped file
|
Copyright © 2023. All rights reserved.