java.lang.Object
org.apache.jena.reasoner.rulesys.impl.FrameObject
- Direct Known Subclasses:
EnvironmentFrame
,GenericChoiceFrame
Base class for stack frame objects. Originally this was used to provide
pool-based allocated but it turns out the normal Java GC outperforms
manual pool-based allocation anyway.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Close the frame actively.void
fastLinkTo
(FrameObject prior) Link this frame to an existing frame.getLink()
Return the prior frame in the tree.void
linkTo
(FrameObject prior) Link this frame to an existing frame.
-
Constructor Details
-
FrameObject
public FrameObject()
-
-
Method Details
-
linkTo
Link this frame to an existing frame. In the future this might do some ref count tricks. -
fastLinkTo
Link this frame to an existing frame. This will never do any funny ref count tricks. -
getLink
Return the prior frame in the tree. -
close
public void close()Close the frame actively. This frees any internal resources, frees this frame and frees the frame to which this is linked.
-