public interface ReleasableLivenessManager extends LivenessManager
LivenessManager
instances that support a ReleasableLivenessManager.release()
method to initiate retained referent
release callback invocation. It is the creator's responsibility to ensure that ReleasableLivenessManager.release()
is invoked before
this manager becomes unreachable.Modifier and Type | Method and Description |
---|---|
void |
release()
Release ownership of this
ReleasableLivenessManager , allowing any retained LivenessReferent s to
cleanup if they no longer have outstanding references. |
manage, tryManage
void release()
ReleasableLivenessManager
, allowing any retained LivenessReferent
s to
cleanup if they no longer have outstanding references.