use of org.apache.jackrabbit.oak.plugins.document.cache.CacheInvalidationStats in project jackrabbit-oak by apache.
the class TimingDocumentStoreWrapper method invalidateCache.
@Override
public CacheInvalidationStats invalidateCache() {
try {
long start = now();
CacheInvalidationStats result = base.invalidateCache();
updateAndLogTimes("invalidateCache", start, 0, 0);
return result;
} catch (Exception e) {
throw convert(e);
}
}
use of org.apache.jackrabbit.oak.plugins.document.cache.CacheInvalidationStats in project jackrabbit-oak by apache.
the class TimingDocumentStoreWrapper method invalidateCache.
@Override
public CacheInvalidationStats invalidateCache(Iterable<String> keys) {
try {
long start = now();
CacheInvalidationStats result = base.invalidateCache(keys);
updateAndLogTimes("invalidateCache3", start, 0, 0);
return result;
} catch (Exception e) {
throw convert(e);
}
}
Aggregations