Class PermanentLivenessManager

java.lang.Object
io.deephaven.engine.liveness.PermanentLivenessManager
All Implemented Interfaces:
LivenessManager

public final class PermanentLivenessManager extends Object implements 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 Details

    • tryManage

      public boolean tryManage(@NotNull @NotNull LivenessReferent referent)
      Description copied from interface: LivenessManager
      Attempt to add referent to this manager. Will succeed if referent is live and if this manager is not a LivenessReferent or is live.
      Specified by:
      tryManage in interface LivenessManager
      Parameters:
      referent - The referent to add
      Returns:
      Whether the referent was in fact added