|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
public interface MmapBuffer
MmapBuffer.
フィールドの概要 | |
---|---|
static int |
OPT_READ
MMAPモード : 読み込み. |
static int |
OPT_WRITE
MMAPモード : 読み込み+書き込み. |
メソッドの概要 | |
---|---|
void |
flush()
指定長のmmap領域を強制書き込み. |
NativeRandomIO |
getFileObject()
mmap対象元のファイルオブジェクトを取得. |
long |
getOffsetLength()
オフセット値+長さを取得. |
int |
getOption()
mmap Read/Writeモードを取得. |
boolean |
isFileClose()
mmap対象元のファイルが閉じているかチェック. |
void |
reCreate(long offset,
int length)
mmap再割り当て. |
インタフェース org.maachang.jni.io.NativeBuffer から継承されたメソッド |
---|
clear, getAddress, getBinary, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLength, getLong, getShort, indexOf, indexOf, isClear, lastIndexOf, lastIndexOf, putBinary, putBoolean, putByte, putChar, putDouble, putFloat, putInt, putLong, putShort |
フィールドの詳細 |
---|
static final int OPT_READ
static final int OPT_WRITE
メソッドの詳細 |
---|
void reCreate(long offset, int length) throws java.lang.Exception
offset
- mmap開始位置を設定します.length
- mmap設定長を設定します.
java.lang.Exception
- 例外.void flush() throws java.lang.Exception
java.lang.Exception
- 例外.NativeRandomIO getFileObject() throws java.lang.Exception
java.lang.Exception
- 例外.boolean isFileClose()
int getOption()
long getOffsetLength()
|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |