final class NativeClosureFactory.ClosureReference extends FinalizableWeakReference<java.lang.Object>
Modifier and Type | Field and Description |
---|---|
private NativeClosureFactory |
factory |
private java.lang.Integer |
key |
(package private) NativeClosureFactory.ClosureReference |
next |
private NativeClosurePointer |
pointer |
Modifier | Constructor and Description |
---|---|
private |
ClosureReference(java.lang.Object referent,
java.lang.Integer key,
NativeClosureFactory factory,
NativeClosurePointer pointer) |
Modifier and Type | Method and Description |
---|---|
void |
finalizeReferent()
Invoked on a background thread after the referent has been garbage collected unless security
restrictions prevented starting a background thread, in which case this method is invoked when
new references are created.
|
(package private) java.lang.Object |
getCallable() |
(package private) Pointer |
getPointer() |
volatile NativeClosureFactory.ClosureReference next
private final NativeClosureFactory factory
private final NativeClosurePointer pointer
private final java.lang.Integer key
private ClosureReference(java.lang.Object referent, java.lang.Integer key, NativeClosureFactory factory, NativeClosurePointer pointer)
public void finalizeReferent()
FinalizableReference
java.lang.Object getCallable()
Pointer getPointer()