Top Description Fields Constructors Methods
org.python.core

public Class PySystemStateRef

extends WeakReference<PySystemState>
Class Inheritance
Imports
java.lang.ref.ReferenceQueue, .WeakReference

A weak reference that allows to keep track of PySystemState within Jython core runtime without leaking: as soon as it gets garbage collected, we can clear the places where we have associated data stored.

Field Summary

Modifier and TypeField and Description
pack-priv static final ReferenceQueue<PySystemState>
private ThreadState

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ThreadState

Field Detail

referenceQueueback to summary
pack-priv static final ReferenceQueue<PySystemState> referenceQueue
threadStateBackReferenceback to summary
private ThreadState threadStateBackReference

Constructor Detail

PySystemStateRefback to summary
public PySystemStateRef(PySystemState referent, ThreadState threadState)

Method Detail

getThreadStateback to summary
public ThreadState getThreadState()