@ParametersAreNonnullByDefault public class AttachmentDownloadPathCache extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey |
Constructor and Description |
---|
AttachmentDownloadPathCache(com.atlassian.vcache.VCacheFactory cacheFactory) |
Modifier and Type | Method and Description |
---|---|
Option<String> |
get(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key)
Deprecated.
|
Optional<String> |
getAttachmentDownloadPath(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key,
Supplier<String> pathSupplier) |
void |
put(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key,
Option<String> path)
Deprecated.
|
void |
remove(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key) |
AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey |
toKey(Attachment attachment) |
AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey |
toKey(ContentEntityObject content,
String attachmentFileName) |
public AttachmentDownloadPathCache(com.atlassian.vcache.VCacheFactory cacheFactory)
public AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey toKey(Attachment attachment)
public AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey toKey(ContentEntityObject content, String attachmentFileName)
@Nullable @Deprecated public Option<String> get(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key)
getAttachmentDownloadPath(AttachmentDownloadPathCacheKey, java.util.function.Supplier)
@Nonnull public Optional<String> getAttachmentDownloadPath(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key, Supplier<String> pathSupplier)
@Deprecated public void put(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key, Option<String> path)
getAttachmentDownloadPath(AttachmentDownloadPathCacheKey, java.util.function.Supplier)
public void remove(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key)
Copyright © 2003–2017 Atlassian. All rights reserved.