|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jniwrapper.NativeResourceCollector
Garbage collection assistant for native resources. Frees resources when their holders are about to be collected. This always happens after all finalization has been run on those classes.
Method Summary | |
void |
addNativeResource(java.lang.Object holder,
NativeResource resource)
|
static NativeResourceCollector |
getInstance()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void addNativeResource(java.lang.Object holder, NativeResource resource)
public static NativeResourceCollector getInstance()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |