Package | Description |
---|---|
com.atlassian.confluence.impl.cache | |
com.atlassian.confluence.impl.pages.attachments |
Modifier and Type | Class and Description |
---|---|
class |
ReadThroughAtlassianCache<K,V>
An implementation of
ReadThroughCache backed by an atlassian-cache Cache . |
class |
ReadThroughEntityCache<CACHEKEY extends Serializable,ENTITYID extends Serializable,ENTITY>
An implementation of
ReadThroughCache which caches the IDs of entity objects against arbitrary keys. |
Modifier and Type | Method and Description |
---|---|
static <E extends ConfluenceEntityObject,K extends Serializable> |
ReadThroughEntityCache.forConfluenceEntityObjects(ReadThroughCache<K,Long> cache,
Function<Long,E> entityLoader)
Creates a new
ReadThroughCache for use with ConfluenceEntityObject entity types. |
Modifier and Type | Method and Description |
---|---|
static <E extends ConfluenceEntityObject,K extends Serializable> |
ReadThroughEntityCache.forConfluenceEntityObjects(ReadThroughCache<K,Long> cache,
Function<Long,E> entityLoader)
Creates a new
ReadThroughCache for use with ConfluenceEntityObject entity types. |
Constructor and Description |
---|
ReadThroughEntityCache(ReadThroughCache<CACHEKEY,ENTITYID> backingCache,
Function<ENTITYID,ENTITY> entityLoader,
Function<ENTITY,ENTITYID> idExtractor) |
Constructor and Description |
---|
ReadThroughCachingAttachmentDao(AttachmentDaoInternal delegate,
ReadThroughCache<String,Attachment> cache) |
Copyright © 2003–2023 Atlassian. All rights reserved.