| Modifier and Type | Method and Description |
|---|---|
static UnsafeMappedBuffer |
UnsafeMappedBuffer.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 UnsafeMappedBuffer |
UnsafeMappedBuffer.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 UnsafeMappedBuffer |
UnsafeMappedBuffer.allocate(File file,
FileChannel.MapMode mode,
int capacity)
Allocates a fixed capacity mapped buffer in the given
FileChannel.MapMode. |
static UnsafeMappedBuffer |
UnsafeMappedBuffer.allocate(File file,
FileChannel.MapMode mode,
int initialCapacity,
int maxCapacity)
Allocates a mapped buffer.
|
static UnsafeMappedBuffer |
UnsafeMappedBuffer.allocate(File file,
int capacity)
Allocates a fixed capacity mapped buffer in
FileChannel.MapMode#READ_WRITE mode. |
static UnsafeMappedBuffer |
UnsafeMappedBuffer.allocate(File file,
int initialCapacity,
int maxCapacity)
Allocates a mapped buffer.
|
UnsafeMappedBuffer |
UnsafeMappedBuffer.duplicate() |
Copyright © 2013–2017. All rights reserved.