@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 |
---|---|
@Nullable Option<String> |
get(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key)
Deprecated.
|
@NonNull 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)
@Deprecated public @Nullable Option<String> get(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key)
getAttachmentDownloadPath(AttachmentDownloadPathCacheKey, java.util.function.Supplier)
public @NonNull 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–2020 Atlassian. All rights reserved.