internal AddOrGetCountCollector(SessionCounters sessionCounters) { Contract.Requires(sessionCounters != null); m_sessionCounters = sessionCounters; m_elapsed = ElapsedTimer.StartNew(); m_theCounter = m_sessionCounters.m_addOrGet_New; m_entriesCount = 0; }
public void Repair() { m_theCounter = m_sessionCounters.m_addOrGet_Repair; }
public void Failed() { m_theCounter = m_sessionCounters.m_addOrGet_Failed; }
public void Dup() { m_theCounter = m_sessionCounters.m_addOrGet_Dup; }
public void Det() { m_theCounter = m_sessionCounters.m_addOrGet_Det; }