|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jruby.ext.ffi.InvalidMemoryIO
org.jruby.ext.ffi.FreedMemoryIO
public final class FreedMemoryIO
| Field Summary |
|---|
| Fields inherited from class org.jruby.ext.ffi.InvalidMemoryIO |
|---|
runtime |
| Constructor Summary | |
|---|---|
FreedMemoryIO(Ruby runtime)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.jruby.ext.ffi.InvalidMemoryIO |
|---|
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, slice |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jruby.ext.ffi.MemoryIO |
|---|
asByteBuffer, 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, slice |
| Constructor Detail |
|---|
public FreedMemoryIO(Ruby runtime)
| Method Detail |
|---|
public boolean isNull()
MemoryIO
isNull in interface MemoryIOpublic boolean isDirect()
MemoryIO
isDirect in interface MemoryIOpublic void free()
free in interface AllocatedDirectMemoryIOpublic void setAutoRelease(boolean autorelease)
setAutoRelease in interface AllocatedDirectMemoryIOpublic long getAddress()
getAddress in interface DirectMemoryIO
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||