|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mchange.v2.encounter.WeakEqualityEncounterCounter
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.
| Constructor Summary | |
|---|---|
WeakEqualityEncounterCounter()
|
|
| Method Summary | |
|---|---|
long |
encounter(java.lang.Object o)
|
long |
reset(java.lang.Object o)
|
void |
resetAll()
Remove all Object histories, resetting counts and clearing any references from strong counters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WeakEqualityEncounterCounter()
| Method Detail |
|---|
public long encounter(java.lang.Object o)
encounter in interface EncounterCounterpublic long reset(java.lang.Object o)
reset in interface EncounterCounterpublic void resetAll()
EncounterCounter
resetAll in interface EncounterCounter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||