$darkmode
wrapper class for a Qore object; this class holds a weak reference to the Qore object More...
Public Member Methods | |
| QoreObjectBase (long qcptr, long mptr, long vptr, Object... args) throws Throwable | |
| creates the wrapper object with a pointer to an object; this Java object holds a weak reference to the Qore object passed here | |
| QoreObjectBase (long obj) | |
| creates the wrapper object with a pointer to an object; this Java object holds a weak reference to the Qore object passed here | |
| long | get () |
| returns the pointer to the object | |
| void | release () |
| releases the Qore object without destroying it More... | |
| void | destroy () |
| runs the destructor | |
Private Member Methods | |
| void | finalize () throws Throwable |
| releases the weak reference | |
Private Attributes | |
| long | obj |
| a pointer to the Qore object | |
wrapper class for a Qore object; this class holds a weak reference to the Qore object
Due to the different in garbage collecting approaches (Qore's garbage collector being deterministic and Java's not), strong references to Qore objects must be managed outside of Java.
|
inline |
releases the Qore object without destroying it