public final class MemoryMappedFile extends Object
Constructor and Description |
---|
MemoryMappedFile(File file,
long len) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
byte |
getByte(long pos) |
void |
getBytes(long pos,
byte[] data,
long offset,
long length) |
int |
getInt(long pos) |
int |
getIntVolatile(long pos) |
void |
putByte(long pos,
byte val) |
void |
putBytes(long pos,
byte[] data,
long offset,
long length) |
void |
putInt(long pos,
int val) |
void |
putOrderedInt(long pos,
int val) |
public MemoryMappedFile(File file, long len)
public void close()
public int getInt(long pos)
public void putByte(long pos, byte val)
public void putInt(long pos, int val)
public void putOrderedInt(long pos, int val)
public int getIntVolatile(long pos)
public void getBytes(long pos, byte[] data, long offset, long length)
public void putBytes(long pos, byte[] data, long offset, long length)
public byte getByte(long pos)
Copyright © 2013–2020. All rights reserved.