Package com.illumon.util.referencecounting
-
Class Summary Class Description ProceduralReferenceCounted AReferenceCounted
implementation that takes aRunnable
onReferenceCountAtZero procedure, in order to avoid relying on inheritance where necessary or desirable.ReferenceCounted Implements a recurring reference counting pattern - a concurrent reference count that should refuse to go below zero, and invokesReferenceCounted.onReferenceCountAtZero()
exactly once when the count returns to zero.