Package com.google.common.testing
Interface GcFinalization.FinalizationPredicate
-
- Enclosing class:
- GcFinalization
@DoNotMock("Implement with a lambda") public static interface GcFinalization.FinalizationPredicate
A predicate that is expected to return true subsequent to finalization, that is, one of the following actions taken by the garbage collector when performing a full collection in response toSystem.gc()
:- invoking the
finalize
methods of unreachable objects - clearing weak references to unreachable referents
- enqueuing weak references to unreachable referents in their reference queue
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isDone()
-
-
-
Method Detail
-
isDone
boolean isDone()
-
-