public class Disposer extends Object implements Runnable
DisposerRecord
Constructor and Description |
---|
Disposer() |
Modifier and Type | Method and Description |
---|---|
static WeakReference |
addRecord(Object target,
DisposerRecord rec)
Registers the object and the native data for later disposal.
|
void |
run() |
public static WeakReference addRecord(Object target, DisposerRecord rec)
target
- Object to be registeredrec
- the associated DisposerRecord objectDisposerRecord
Copyright © 2020. All rights reserved.