public final class JniSharedMemory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
finalize() |
long |
getMmapAddress() |
static boolean |
isEnabled() |
static JniSharedMemory |
open(java.lang.String name,
int dataLength,
boolean isRead) |
int |
read(byte[] buffer,
int offset,
int length) |
java.lang.String |
toString()
Returns the debug name for the stream.
|
int |
write(byte[] buffer,
int offset,
int length) |
public static boolean isEnabled()
public static JniSharedMemory open(java.lang.String name, int dataLength, boolean isRead)
public long getMmapAddress()
public int write(byte[] buffer, int offset, int length) throws java.io.IOException
java.io.IOException
public int read(byte[] buffer, int offset, int length) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
protected void finalize() throws java.io.IOException
finalize
in class java.lang.Object
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object