Class Resource.ResourceTracker
java.lang.Object
org.eclipse.swt.graphics.Resource.ResourceTracker
- All Implemented Interfaces:
Runnable
- Enclosing class:
Resource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ErrorRecorded at Resource creation ifResource.setNonDisposeHandler(Consumer)was enabled, used to track resource disposalprivate static final CleanerInvokesrun()once the resource is eligible for GCprivate final AtomicBooleanControls whether theResource.nonDisposedReportershould be notified -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
cleaner
-
allocationStack
Recorded at Resource creation ifResource.setNonDisposeHandler(Consumer)was enabled, used to track resource disposal -
reporting
Controls whether theResource.nonDisposedReportershould be notified
-
-
Constructor Details
-
ResourceTracker
ResourceTracker(Error allocationStack)
-
-
Method Details
-
run
-