Package com.mchange.v2.encounter
Interface EncounterCounter
- All Known Implementing Classes:
EqualityEncounterCounter
,IdentityEncounterCounter
,StrongEqualityEncounterCounter
,WeakEqualityEncounterCounter
,WeakIdentityEncounterCounter
public interface EncounterCounter
-
Method Summary
-
Method Details
-
encounter
- Returns:
- how many times have I seen this object before?
-
reset
- Returns:
- how many times have I seen this object before, then remove this Object's history, resetting its count and eliminating any reference from strong counters.
-
resetAll
void resetAll()Remove all Object histories, resetting counts and clearing any references from strong counters.
-