com.atlassian.confluence.pages
Class AttachmentDownloadPathCache
java.lang.Object
com.atlassian.confluence.pages.AttachmentDownloadPathCache
public class AttachmentDownloadPathCache
- extends java.lang.Object
Cache for attachment download paths. Includes negative value caching.
- Since:
- 4.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentDownloadPathCache
public AttachmentDownloadPathCache(com.atlassian.cache.CacheFactory cacheFactory)
toKey
public AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey toKey(Attachment attachment)
toKey
public AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey toKey(ContentEntityObject content,
java.lang.String attachmentFileName)
get
public Option<java.lang.String> get(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key)
put
public void put(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key,
Option<java.lang.String> path)
remove
public void remove(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key)
Copyright © 2003-2013 Atlassian. All Rights Reserved.