ReadThroughAttachmentDownloadPathCache
@ParametersAreNonnullByDefault @Deprecated public class AttachmentDownloadPathCache extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey
Deprecated.
|
Constructor and Description |
---|
AttachmentDownloadPathCache(com.atlassian.vcache.VCacheFactory cacheFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
@Nullable Option<String> |
get(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key)
Deprecated.
|
@NonNull Optional<String> |
getAttachmentDownloadPath(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key,
Supplier<String> pathSupplier)
Deprecated.
|
void |
put(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key,
Option<String> path)
Deprecated.
|
void |
remove(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key)
Deprecated.
|
AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey |
toKey(Attachment attachment)
Deprecated.
|
AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey |
toKey(ContentEntityObject content,
String attachmentFileName)
Deprecated.
|
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.
View cookie preferences