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,ParameterSession,ReverseLookupListener,SelectFilterLivenessArtifactImpl,SwapListenerBase,TableMapImpl,TableMapProxyHandler,TableSupplier
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidAdd this artifact to the current manager provided by theLivenessScopeStack.protected final voidunmanage(LivenessReferent referent) If this manages referent one or more times, drop one such reference.protected final voidunmanage(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, tryRetainReferenceMethods inherited from class com.illumon.util.referencecounting.ReferenceCounted
append, decrementReferenceCount, incrementReferenceCount, resetReferenceCount, toString, tryDecrementReferenceCount, tryIncrementReferenceCountMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.illumon.iris.db.util.liveness.LivenessManager
manageMethods 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
-