Top Interfaces Classes
[default module]

Package com.mchange.v2.encounter


Interface Summary

Modifier and TypeInterface and Description
public interface

Class Summary

Modifier and TypeClass and Description
pack-priv class
public class
public class
EqualityEncounterCounter

Deprecated -- Use of WeakHashMap can't properly guarantee counts with equality semantics, as an Object can be encounted garbage collected, then re-encountered with no apparent history.
pack-priv class
public class
IdentityEncounterCounter

Deprecated use WeakIdentityEncounterCounter (name changed to emphasize for library users that they need to understand whether implementations are weak or strong to avoid accidental reference retention in strong counters)
public class
StrongEqualityEncounterCounter

Note

Use of StrongEqualityEncounterCounter will maintain a reference to any Object it has encountered, leading potentially to memory leaks if it is resources are not reset.

public class
WeakEqualityEncounterCounter

Note

Use of WeakEqualityEncounterCounter can't fully guarantee counts with equality semantics, as an Object can be encounted garbage collected, then re-encountered with no apparent history.

public class