|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.armedbear.lisp.util.Finalizer
public class Finalizer
Framework to monitor arbitrary objects to see if they have been garbage collected, running one or more runnables when they have.
| Constructor Summary | |
|---|---|
Finalizer()
|
|
| Method Summary | |
|---|---|
static void |
addFinalizer(java.lang.Object o,
java.lang.Runnable r)
Schedules a Runnable to be run after garbage collection of the object. |
static void |
clearFinalizers(java.lang.Object o)
Cancels any references scheduled to be run after garbage collection of the argument 'o'. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Finalizer()
| Method Detail |
|---|
public static void addFinalizer(java.lang.Object o,
java.lang.Runnable r)
o - The object to monitor for garbage collectionr - The routine to be executed after GC-ing the objectpublic static void clearFinalizers(java.lang.Object o)
o - Object to cancel references for
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||