public class MMFBytez extends MallocBytez
baseAdress, length| Constructor and Description |
|---|
MMFBytez(String filePath,
long length,
boolean clearFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
_setMMFData(File file,
FileChannel fileChannel,
sun.misc.Cleaner cleaner)
hack to update underlying file in slices handed out to app
|
void |
freeAndClose() |
sun.misc.Cleaner |
getCleaner() |
File |
getFile() |
FileChannel |
getFileChannel() |
protected void |
init(String file,
long length,
boolean clearFile) |
asByteArray, clear, compareAndSwapInt, compareAndSwapLong, copyTo, equals, get, getArr, getBALength, getBAOffsetIndex, getBaseAdress, getBool, getBooleanArr, getBoolVolatile, getChar, getCharArr, getCharVolatile, getDouble, getDoubleArr, getDoubleVolatile, getFloat, getFloatArr, getFloatVolatile, getInt, getIntArr, getIntVolatile, getLength, getLong, getLongArr, getLongVolatile, getShort, getShortArr, getShortVolatile, getVolatile, hashCode, length, newInstance, put, putBool, putBoolVolatile, putChar, putCharVolatile, putDouble, putDoubleVolatile, putFloat, putFloatVolatile, putInt, putIntVolatile, putLong, putLongVolatile, putShort, putShortVolatile, putVolatile, set, setBase, setBoolean, setChar, setDouble, setFloat, setInt, setLong, setShort, slice, toBytesprotected void init(String file, long length, boolean clearFile) throws Exception
Exceptionpublic void freeAndClose()
public void _setMMFData(File file, FileChannel fileChannel, sun.misc.Cleaner cleaner)
public File getFile()
public FileChannel getFileChannel()
public sun.misc.Cleaner getCleaner()
Copyright © 2015. All rights reserved.