|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Closure.Handle
A Handle is allocated by the ClosureManager
, as a strong reference
to the native closure trampoline.
Method Summary | |
---|---|
void |
dispose()
Releases the closure memory back to the operating system. |
void |
free()
Deprecated. |
long |
getAddress()
Gets the native code address of the closure. |
void |
setAutoRelease(boolean autorelease)
Sets whether the closure memory should be released when the Handle is garbage collected or not. |
Method Detail |
---|
long getAddress()
void setAutoRelease(boolean autorelease)
autorelease
- If true, the closure memory is automatically managed,
else the closure memory must be explicitly freed.void dispose()
@Deprecated void free()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |