DisposerRecord
| Modifier and Type | Field and Description |
|---|---|
| private static Disposer | |
| private static final ReferenceQueue | |
| private static final Hashtable |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static WeakReference | addRecord(Object
Object to be registered target, DisposerRecord the associated DisposerRecord object rec)Registers the object and the native data for later disposal. |
| public static void | removeRecord(WeakReference<T>
Weak reference of the object to be removed ref)Unregisters a previously registered |
| public void |
| disposerInstance | back to summary |
|---|---|
| private static Disposer disposerInstance | |
| queue | back to summary |
|---|---|
| private static final ReferenceQueue<T> queue | |
| records | back to summary |
|---|---|
| private static final Hashtable<K, V> records | |
| Disposer | back to summary |
|---|---|
| public Disposer() | |
| addRecord | back to summary |
|---|---|
| public static WeakReference Registers the object and the native data for later disposal.
| |
| removeRecord | back to summary |
|---|---|
| public static void removeRecord(WeakReference<T> ref) Unregisters a previously registered
| |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |