Class LivenessArtifact
java.lang.Object
com.illumon.util.referencecounting.ReferenceCounted
com.illumon.iris.db.util.liveness.ReferenceCountedLivenessNode
com.illumon.iris.db.util.liveness.LivenessArtifact
- All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable
,LivenessManager
,LivenessNode
,LivenessReferent
,Serializable
- Direct Known Subclasses:
BaseTable
,DeferredViewTable.TableReference
,InstrumentedListenerBase
,LivePivotWidget
,LiveTableRefreshCombiner
,MergedListener
,ReverseLookupListener
,SelectFilterLivenessArtifactImpl
,SwapListenerBase
,TableMapImpl
,TableMapProxyHandler
,TableSupplier
public class LivenessArtifact extends ReferenceCountedLivenessNode implements Serializable
A query engine artifact that is also a
LivenessNode
. These referents are added to the current top of the
LivenessScopeStack
on construction or deserialization.- See Also:
- Serialized Form
-
Constructor Summary
Constructors Modifier Constructor Description protected
LivenessArtifact()
-
Method Summary
Modifier and Type Method Description void
manageWithCurrentScope()
Add this artifact to the current manager provided by theLivenessScopeStack
.protected void
unmanage(LivenessReferent referent)
If this manages referent one or more times, drop one such reference.protected void
unmanage(Collection<? extends LivenessReferent> referents)
For each referent in referents, if this manages referent one or more times, drop one such reference.Methods inherited from class com.illumon.iris.db.util.liveness.ReferenceCountedLivenessNode
destroy, dropReference, getWeakReference, initializeTransientFieldsForLiveness, onReferenceCountAtZero, tryManage, tryRetainReference
Methods inherited from class com.illumon.util.referencecounting.ReferenceCounted
append, decrementReferenceCount, incrementReferenceCount, resetReferenceCount, toString, tryDecrementReferenceCount, tryIncrementReferenceCount
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.illumon.iris.db.util.liveness.LivenessReferent
getReferentDescription, retainReference
-
Constructor Details
-
LivenessArtifact
protected LivenessArtifact()
-
-
Method Details
-
manageWithCurrentScope
public final void manageWithCurrentScope()Add this artifact to the current manager provided by theLivenessScopeStack
. -
unmanage
If this manages referent one or more times, drop one such reference.
- Parameters:
referent
- The referent to drop
-
unmanage
For each referent in referents, if this manages referent one or more times, drop one such reference.
- Parameters:
referents
- The referents to drop
-