Top Methods
com.mchange.v2.encounter

public Interface EncounterCounter

Known Direct Implementers
com.mchange.v2.encounter.AbstractEncounterCounter

Method Summary

Modifier and TypeMethod and Description
public long

Returns:

how many times have I seen this object before?
encounter
(Object o)

public long

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.
reset
(Object o)

public void
resetAll()

Remove all Object histories, resetting counts and clearing any references from strong counters.

Method Detail

encounterback to summary
public long encounter(Object o)
Returns:long

how many times have I seen this object before?

resetback to summary
public long reset(Object o)
Returns:long

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.

resetAllback to summary
public void resetAll()

Remove all Object histories, resetting counts and clearing any references from strong counters.