public final class FreedMemoryIO extends InvalidMemoryIO implements AllocatedDirectMemoryIO
runtime| Constructor and Description |
|---|
FreedMemoryIO(Ruby runtime) |
| Modifier and Type | Method and Description |
|---|---|
void |
free() |
long |
getAddress() |
boolean |
isDirect()
Checks if the memory area is a native memory pointer.
|
boolean |
isNull()
Checks if the memory area is NULL.
|
void |
setAutoRelease(boolean autorelease) |
asByteBuffer, clear, dup, ex, get, get, get, get, get, get, getAddress, getByte, getDouble, getErrorClass, getFloat, getInt, getLong, getMemoryIO, getNativeLong, getShort, getZeroTerminatedByteArray, getZeroTerminatedByteArray, indexOf, indexOf, order, put, put, put, put, put, put, putAddress, putByte, putDouble, putFloat, putInt, putLong, putMemoryIO, putNativeLong, putShort, putZeroTerminatedByteArray, setMemory, slice, sliceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasByteBuffer, dup, get, get, get, get, get, get, getAddress, getByte, getDouble, getFloat, getInt, getLong, getMemoryIO, getNativeLong, getShort, getZeroTerminatedByteArray, getZeroTerminatedByteArray, indexOf, indexOf, order, put, put, put, put, put, put, putAddress, putByte, putDouble, putFloat, putInt, putLong, putMemoryIO, putNativeLong, putShort, putZeroTerminatedByteArray, setMemory, slice, slicepublic FreedMemoryIO(Ruby runtime)
public boolean isNull()
MemoryIOpublic boolean isDirect()
MemoryIOpublic void free()
free in interface AllocatedDirectMemoryIOpublic void setAutoRelease(boolean autorelease)
setAutoRelease in interface AllocatedDirectMemoryIOpublic long getAddress()
getAddress in interface DirectMemoryIOCopyright © 2002-2009 JRuby Team. All Rights Reserved.