| Package | Description |
|---|---|
| org.apache.jackrabbit.oak.segment |
| Modifier and Type | Method and Description |
|---|---|
Template |
SegmentReader.readTemplate(RecordId id)
Read the template identified by
id. |
Template |
CachingSegmentReader.readTemplate(RecordId id)
Cached reading of a template.
|
| Modifier and Type | Method and Description |
|---|---|
abstract RecordCache<Template> |
WriterCacheManager.getTemplateCache(int generation) |
RecordCache<Template> |
WriterCacheManager.Empty.getTemplateCache(int generation) |
RecordCache<Template> |
WriterCacheManager.Default.getTemplateCache(int generation) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
TemplateCache.isSmall(Template template) |
int |
CacheWeights.ReaderTemplateCacheWeigher.weigh(org.apache.jackrabbit.oak.segment.ReaderCache.CacheKey key,
Template value) |
int |
CacheWeights.TemplateCacheWeigher.weigh(Template key,
RecordId value) |
| Constructor and Description |
|---|
Default(com.google.common.base.Supplier<RecordCache<String>> stringCacheFactory,
com.google.common.base.Supplier<RecordCache<Template>> templateCacheFactory,
com.google.common.base.Supplier<PriorityCache<String,RecordId>> nodeCacheFactory)
New instance using the passed factories for creating cache instances.
|
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.