@Test public void testCacheHitCount() { assertNumberOfCacheHitsIs(0); countCacheHit(); assertNumberOfCacheHitsIs(1); countCacheHit(); assertNumberOfCacheHitsIs(2); }
public ResourceModelStatistics countCacheHit() { ++this.cacheHits; return this; }
ResourceModelStatistics { public ResourceModelStatistics countCacheHit() { ++this.cacheHits; return this; } }
ResourceModelStatistics { public ResourceModelStatistics countCacheHit() { ++this.cacheHits; return this; } ResourceModelStatistics(); }
ResourceModelStatistics { public ResourceModelStatistics countCacheHit() { ++this.cacheHits; return this; } ResourceModelStatistics(); ResourceModelStatistics countInstantiation(); ResourceModelStatistics countSubsequentMapping(); ResourceModelStatistics countCacheHit(); ResourceModelStatistics countMappingDuration(int durationInMs); }
ResourceModelStatistics { public ResourceModelStatistics countCacheHit() { ++this.cacheHits; return this; } ResourceModelStatistics(); ResourceModelStatistics countInstantiation(); ResourceModelStatistics countSubsequentMapping(); ResourceModelStatistics countCacheHit(); ResourceModelStatistics countMappingDuration(int durationInMs);  }