Class FrameObject
- java.lang.Object
-
- org.apache.jena.reasoner.rulesys.impl.FrameObject
-
- Direct Known Subclasses:
EnvironmentFrame
,GenericChoiceFrame
public class FrameObject extends java.lang.Object
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
Constructors Constructor Description FrameObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Close the frame actively.void
fastLinkTo(FrameObject prior)
Link this frame to an existing frame.FrameObject
getLink()
Return the prior frame in the tree.void
linkTo(FrameObject prior)
Link this frame to an existing frame.
-
-
-
Method Detail
-
linkTo
public void linkTo(FrameObject prior)
Link this frame to an existing frame. In the future this might do some ref count tricks.
-
fastLinkTo
public void fastLinkTo(FrameObject prior)
Link this frame to an existing frame. This will never do any funny ref count tricks.
-
getLink
public FrameObject 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.
-
-