Class PermanentLivenessManager
java.lang.Object
com.illumon.iris.db.util.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
Description copied from interface:LivenessManager
Attempt to add the specified referent to this manager.- Specified by:
tryManage
in interfaceLivenessManager
- Parameters:
referent
- The referent to add- Returns:
- Whether the referent was in fact added
-