Package | Description |
---|---|
org.apache.jackrabbit.oak.segment |
Modifier and Type | Class and Description |
---|---|
class |
CacheAccessTracker<K,V>
Cache wrapper exposing the number of read accesses and the
number of misses ot the underlying cache via the StatisticsProvider . |
class |
RecordCache<K>
Partial mapping of keys of type
K to values of type RecordId . |
Modifier and Type | Method and Description |
---|---|
abstract @NotNull Cache<String,RecordId> |
WriterCacheManager.getNodeCache(int generation) |
@NotNull Cache<String,RecordId> |
WriterCacheManager.Empty.getNodeCache(int generation) |
@NotNull Cache<String,RecordId> |
WriterCacheManager.Default.getNodeCache(int generation) |
abstract @NotNull Cache<String,RecordId> |
WriterCacheManager.getStringCache(int generation) |
@NotNull Cache<String,RecordId> |
WriterCacheManager.Default.getStringCache(int generation) |
abstract @NotNull Cache<Template,RecordId> |
WriterCacheManager.getTemplateCache(int generation) |
@NotNull Cache<Template,RecordId> |
WriterCacheManager.Default.getTemplateCache(int generation) |
Constructor and Description |
---|
CacheAccessTracker(@NotNull String name,
@NotNull org.apache.jackrabbit.oak.stats.StatisticsProvider statisticsProvider,
@NotNull Cache<K,V> delegate)
Create a new wrapper exposing the access statistics under the given
name to the passed statisticsProvider . |
Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.