| Package | Description |
|---|---|
| io.atomix.storage.buffer |
Provides a low-level
Buffer abstraction backed by on- or off-heap memory, memory mapped
files, or RandomAccessFile. |
| Modifier and Type | Method and Description |
|---|---|
static FileBuffer |
FileBuffer.allocate(File file)
Allocates a file buffer of unlimited capacity.
|
static FileBuffer |
FileBuffer.allocate(File file,
int initialCapacity)
Allocates a file buffer with the given initial capacity.
|
static FileBuffer |
FileBuffer.allocate(File file,
int initialCapacity,
int maxCapacity)
Allocates a file buffer.
|
static FileBuffer |
FileBuffer.allocate(File file,
String mode,
int initialCapacity,
int maxCapacity)
Allocates a file buffer.
|
FileBuffer |
FileBuffer.duplicate() |
FileBuffer |
FileBuffer.duplicate(String mode)
Duplicates the buffer using the given mode.
|
Copyright © 2013–2018. All rights reserved.