in src/main/java/org/apache/geronimo/jcache/simple/TempStateCacheView.java [58:79]
public V get(final K key) {
if (ignoreKey(key)) {
return null;
}
final V v = put.get(key);
if (v != null) {
return v;
}
// for an EntryProcessor we already incremented stats - to enhance
// surely
if (cache.getConfiguration(CompleteConfiguration.class).isStatisticsEnabled()) {
final Statistics statistics = cache.getStatistics();
if (cache.containsKey(key)) {
statistics.increaseHits(-1);
} else {
statistics.increaseMisses(-1);
}
}
return cache.get(key);
}