| Modifier and Type | Method and Description |
|---|---|
static MappedBuffer |
MappedBuffer.allocate(File file)
Allocates a dynamic capacity mapped buffer in
FileChannel.MapMode#READ_WRITE mode with an initial capacity
of 16MiB and a maximum capacity of Integer.MAX_VALUE. |
static MappedBuffer |
MappedBuffer.allocate(File file,
FileChannel.MapMode mode)
Allocates a dynamic capacity mapped buffer in
FileChannel.MapMode#READ_WRITE mode with an initial capacity
of 16MiB and a maximum capacity of Integer.MAX_VALUE. |
static MappedBuffer |
MappedBuffer.allocate(File file,
FileChannel.MapMode mode,
int capacity)
Allocates a fixed capacity mapped buffer in the given
FileChannel.MapMode. |
static MappedBuffer |
MappedBuffer.allocate(File file,
FileChannel.MapMode mode,
int initialCapacity,
int maxCapacity)
Allocates a mapped buffer.
|
static MappedBuffer |
MappedBuffer.allocate(File file,
int capacity)
Allocates a fixed capacity mapped buffer in
FileChannel.MapMode#READ_WRITE mode. |
static MappedBuffer |
MappedBuffer.allocate(File file,
int initialCapacity,
int maxCapacity)
Allocates a mapped buffer.
|
MappedBuffer |
MappedBuffer.duplicate() |
MappedBuffer |
FileBuffer.map(int size)
Maps a portion of the underlying file into memory in
FileChannel.MapMode#READ_WRITE mode
starting at the current position up to the given count. |
MappedBuffer |
FileBuffer.map(int size,
FileChannel.MapMode mode)
Maps a portion of the underlying file into memory starting at the current position up to the given
count. |
MappedBuffer |
FileBuffer.map(int offset,
int size)
Maps a portion of the underlying file into memory in
FileChannel.MapMode#READ_WRITE mode
starting at the given offset up to the given count. |
MappedBuffer |
FileBuffer.map(int offset,
int size,
FileChannel.MapMode mode)
Maps a portion of the underlying file into memory starting at the given
offset up to the given count. |
Copyright © 2013–2017. All rights reserved.