| Package | Description |
|---|---|
| org.apache.jackrabbit.oak.segment |
| Modifier and Type | Method and Description |
|---|---|
abstract RecordCache<String> |
WriterCacheManager.getStringCache(int generation) |
RecordCache<String> |
WriterCacheManager.Empty.getStringCache(int generation) |
RecordCache<String> |
WriterCacheManager.Default.getStringCache(int generation) |
abstract RecordCache<Template> |
WriterCacheManager.getTemplateCache(int generation) |
RecordCache<Template> |
WriterCacheManager.Empty.getTemplateCache(int generation) |
RecordCache<Template> |
WriterCacheManager.Default.getTemplateCache(int generation) |
static <T> RecordCache<T> |
RecordCache.newRecordCache(int size)
Factory method for creating
RecordCache instances. |
| Modifier and Type | Method and Description |
|---|---|
static <T> com.google.common.base.Supplier<RecordCache<T>> |
RecordCache.factory(int size) |
static <T> com.google.common.base.Supplier<RecordCache<T>> |
RecordCache.factory(int size,
com.google.common.cache.Weigher<T,RecordId> weigher) |
| Modifier and Type | Method and Description |
|---|---|
static <T> com.google.common.base.Supplier<Long> |
WriterCacheManager.Default.accumulateRecordCacheSizes(Iterable<RecordCache<T>> caches) |
static <T> com.google.common.base.Supplier<Long> |
WriterCacheManager.Default.accumulateRecordCacheWeights(Iterable<RecordCache<T>> caches) |
| 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.
|
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.