Package io.deephaven.engine.liveness
Class PermanentLivenessManager
java.lang.Object
io.deephaven.engine.liveness.PermanentLivenessManager
- All Implemented Interfaces:
LivenessManager
A LivenessManager
implementation that will never release its referents.
Instances expect to be used on exactly one thread, and hence do not take any measures to ensure thread safety.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
tryManage
(@NotNull LivenessReferent referent) Attempt to addreferent
to this manager.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.engine.liveness.LivenessManager
manage
-
Method Details
-
tryManage
Description copied from interface:LivenessManager
Attempt to addreferent
to this manager. Will succeed ifreferent
is live and if this manager is not aLivenessReferent
or is live.- Specified by:
tryManage
in interfaceLivenessManager
- Parameters:
referent
- The referent to add- Returns:
- Whether the referent was in fact added
-