DisposerRecord
| Modifier and Type | Class and Description |
|---|---|
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private static ConcurrentLinkedDeque | |
| private static final Disposer | |
| public static volatile boolean | |
| private static final ReferenceQueue | |
| private static final Hashtable |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv synchronized void | add(Object
Object to be registered, or if target is an instance
of DisposerTarget, its associated disposer referent
will be the Object that is registered target, DisposerRecord the associated DisposerRecord object rec)Performs the actual registration of the target object to be disposed. |
| public static void | |
| public static void | |
| public static void | 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 | |
| private static void | |
| public static ReferenceQueue | |
| private static native void | |
| public static void | |
| public void | |
| private static void |
| deferredRecords | back to summary |
|---|---|
| private static ConcurrentLinkedDeque<DisposerRecord> deferredRecords | |
| disposerInstance | back to summary |
|---|---|
| private static final Disposer disposerInstance | |
| pollingQueue | back to summary |
|---|---|
| public static volatile boolean pollingQueue | |
| queue | back to summary |
|---|---|
| private static final ReferenceQueue<Object> queue | |
| records | back to summary |
|---|---|
| private static final Hashtable<Reference<Object>, DisposerRecord> records | |
| Disposer | back to summary |
|---|---|
| public Disposer() | |
| add | back to summary |
|---|---|
| pack-priv synchronized void add(Object target, DisposerRecord rec) Performs the actual registration of the target object to be disposed.
| |
| addObjectRecord | back to summary |
|---|---|
| public static void addObjectRecord(Object obj, DisposerRecord rec) | |
| addRecord | back to summary |
|---|---|
| public static void addRecord(Object target, long disposeMethod, long pData) Registers the object and the native data for later disposal.
| |
| addRecord | back to summary |
|---|---|
| public static void addRecord(Object target, DisposerRecord rec) Registers the object and the native data for later disposal.
| |
| addReference | back to summary |
|---|---|
| public static void addReference(Reference<Object> ref, DisposerRecord rec) | |
| clearDeferredRecords | back to summary |
|---|---|
| private static void clearDeferredRecords() | |
| getQueue | back to summary |
|---|---|
| public static ReferenceQueue | |
| initIDs | back to summary |
|---|---|
| private static native void initIDs() | |
| pollRemove | back to summary |
|---|---|
| public static void pollRemove() | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation. | |
| safeDispose | back to summary |
|---|---|
| private static void safeDispose(DisposerRecord rec) | |