public class FinalizableReferenceQueue extends ReferenceQueue<Object>
| Modifier and Type | Method and Description |
|---|---|
static ReferenceQueue<Object> |
getInstance()
Gets instance.
|
static void |
stopAndClear()
Stops the background drain thread and releases the singleton instance,
preventing the webapp classloader from being pinned after undeploy.
|
poll, remove, removepublic static void stopAndClear()
public static ReferenceQueue<Object> getInstance()
Copyright © 2000–2026 Apache Software Foundation. All rights reserved.