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.
Modifier and Type | Method and Description |
---|---|
boolean |
tryManage(LivenessReferent referent)
Attempt to add the specified referent to this manager.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
manage
public final boolean tryManage(@NotNull LivenessReferent referent)
LivenessManager
tryManage
in interface LivenessManager
referent
- The referent to add