|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jna.Pointer
com.sun.jna.Memory
org.apache.cassandra.cache.FreeableMemory
public class FreeableMemory
Field Summary |
---|
Fields inherited from class com.sun.jna.Memory |
---|
size |
Fields inherited from class com.sun.jna.Pointer |
---|
NULL, peer, SIZE |
Constructor Summary | |
---|---|
FreeableMemory(long size)
|
Method Summary | |
---|---|
protected void |
finalize()
avoid re-freeing already-freed memory |
byte |
getValidByte(long offset)
|
boolean |
reference()
|
void |
unreference()
decrement reference count. |
Methods inherited from class com.sun.jna.Memory |
---|
align, boundsCheck, clear, free, getByte, getByteBuffer, getChar, getDouble, getFloat, getInt, getLong, getPointer, getShort, getSize, getString, isValid, malloc, purge, read, read, read, read, read, read, read, setByte, setChar, setDouble, setFloat, setInt, setLong, setPointer, setShort, setString, share, share, size, toString, valid, write, write, write, write, write, write, write |
Methods inherited from class com.sun.jna.Pointer |
---|
clear, createConstant, createConstant, equals, getByteArray, getCharArray, getDoubleArray, getFloatArray, getIntArray, getLongArray, getNativeLong, getPointerArray, getPointerArray, getShortArray, getString, getStringArray, getStringArray, getStringArray, getStringArray, hashCode, indexOf, nativeValue, nativeValue, read, setMemory, setNativeLong, setString, write |
Methods inherited from class java.lang.Object |
---|
clone, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FreeableMemory(long size)
Method Detail |
---|
public boolean reference()
public void unreference()
protected void finalize()
finalize
in class com.sun.jna.Memory
public byte getValidByte(long offset)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |