Package io.deephaven.engine.liveness
Interface LivenessManager
- All Known Subinterfaces:
DelegatingLivenessNode
,LazySnapshotTable
,LivenessNode
,PartitionedTable
,QueryScope
,ReleasableLivenessManager
,ScriptSession
,ShiftObliviousListener
,Table
,TableAdapter
,TableDefaults
,TableListener
,TableUpdateListener
- All Known Implementing Classes:
AbstractDataIndex
,AbstractScriptSession
,AbstractScriptSession.ScriptSessionQueryScope
,AppendOnlyArrayBackedInputTable
,AppendOnlyAssertionInstrumentedListenerAdapter
,ArrowFlightUtil.DoExchangeMarshaller
,AutoTuningIncrementalReleaseFilter
,BarrageBlinkTable
,BarrageMessageProducer
,BarrageRedirectedTable
,BarrageSnapshotImpl
,BarrageSubscriptionImpl
,BarrageTable
,BaseGridAttributes
,BaseIncrementalReleaseFilter
,BaseTable
,BaseTable.ListenerImpl
,BaseTable.ShiftObliviousListenerImpl
,BucketedChunkedAjMergedListener
,ClockFilter
,ComposedFilter
,ConjunctiveFilter
,DeferredViewTable
,DeferredViewTable.TableReference
,DelegatingScriptSession
,DisjunctiveFilter
,DynamicWhereFilter
,EmptyQueryScope
,FigureWidget
,GroovyDeephavenSession
,HierarchicalTableView
,HierarchicalTableViewSubscription
,IncrementalReleaseFilter
,InitialSnapshotTable
,InMemoryTable
,InstrumentedTableListenerBase
,InstrumentedTableUpdateListener
,InstrumentedTableUpdateListenerAdapter
,JoinListenerRecorder
,KafkaStreamPublisher
,KeyedArrayBackedInputTable
,ListenerRecorder
,LiveAttributeMap
,LivenessArtifact
,LivenessScope
,MergedListener
,NoLanguageDeephavenSession
,PartitionAwareSourceTable
,PartitionedTableImpl
,PermanentLivenessManager
,PoisonedQueryScope
,PrintListener
,PublishToKafka
,PythonDeephavenSession
,PythonListenerAdapter
,PythonMergedListenerAdapter
,PythonReplayListenerAdapter
,PythonReplayShiftObliviousListenerAdapter
,PythonShiftObliviousListenerAdapter
,QueryReplayGroupedTable
,QueryTable
,QueryTable.FilteredTable
,RedefinableTable
,ReferenceCountedLivenessNode
,RegionedColumnSourceManager
,RemappedDataIndex
,ReplayGroupedFullTable
,ReplayLastByGroupedTable
,ReplayTable
,ReplayTableBase
,RollingReleaseFilter
,RollupTableImpl
,SessionState.ExportObject
,ShiftObliviousInstrumentedListener
,ShiftObliviousInstrumentedListenerAdapter
,SimpleSourceTable
,SingletonLivenessManager
,SnapshotIncrementalListener
,SnapshotInternalListener
,SortedAssertionInstrumentedListenerAdapter
,SortedClockFilter
,SortListener
,SourcePartitionedTable
,SourceTable
,StandaloneDataIndex
,StandaloneQueryScope
,StreamPublisherBase
,TableBackedDataIndex
,TableSupplier
,TimeSeriesFilter
,TimeTable
,ToMapListener
,TransformedDataIndex
,TreeTableImpl
,UncoalescedTable
,UnsortedClockFilter
,UpdatableTable
,UpdateSourceCombiner
,UpdateSourceQueryTable
,WhereFilterLivenessArtifactImpl
,ZeroKeyChunkedAjMergedListener
public interface LivenessManager
Interface for objects that retainReference
LivenessReferent
s until such time as they are no longer necessary.-
Method Summary
Modifier and TypeMethodDescriptiondefault void
manage
(@NotNull LivenessReferent referent) Add the specified referent to this manager.boolean
tryManage
(@NotNull LivenessReferent referent) Attempt to addreferent
to this manager.
-
Method Details
-
manage
Add the specified referent to this manager.referent
must be live. If this manager is also aLivenessReferent
, then it must also be live.- Parameters:
referent
- The referent to add
-
tryManage
Attempt to addreferent
to this manager. Will succeed ifreferent
is live and if this manager is not aLivenessReferent
or is live.- Parameters:
referent
- The referent to add- Returns:
- Whether the referent was in fact added
-