3 |
|
|
4 |
public abstract class MappedByteBuffer extends ByteBuffer |
public abstract class MappedByteBuffer extends ByteBuffer |
5 |
{ |
{ |
6 |
private static MantaNative void sync(); |
private static native void sync(); |
7 |
|
|
8 |
MappedByteBuffer force() |
public MappedByteBuffer force() |
9 |
{ |
{ |
10 |
sync(); |
sync(); |
11 |
return this; |
return this; |
12 |
} |
} |
13 |
|
|
14 |
boolean isLoaded() |
public boolean isLoaded() |
15 |
{ |
{ |
16 |
return true; |
return true; |
17 |
} |
} |
18 |
|
|
19 |
MappedByteBuffer load() |
public MappedByteBuffer load() |
20 |
{ |
{ |
21 |
sync(); |
sync(); |
22 |
return this; |
return this; |