@ParametersAreNonnullByDefault public class SingleStoreAttachmentGetStrategy extends Object implements AttachmentGetStrategy
AttachmentGetStrategy
which just
delegates to single attachment store.Constructor and Description |
---|
SingleStoreAttachmentGetStrategy(StreamAttachmentStore streamAttachmentStore) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.atlassian.util.concurrent.Promise<Boolean> |
exists(AttachmentKey attachmentKey) |
<A> com.atlassian.util.concurrent.Promise<A> |
getAttachmentData(AttachmentKey attachmentKey,
com.atlassian.util.concurrent.Function<AttachmentGetData,A> attachmentGetDataProcessor) |
int |
hashCode() |
public SingleStoreAttachmentGetStrategy(StreamAttachmentStore streamAttachmentStore)
public <A> com.atlassian.util.concurrent.Promise<A> getAttachmentData(AttachmentKey attachmentKey, com.atlassian.util.concurrent.Function<AttachmentGetData,A> attachmentGetDataProcessor)
getAttachmentData
in interface AttachmentGetStrategy
public com.atlassian.util.concurrent.Promise<Boolean> exists(AttachmentKey attachmentKey)
exists
in interface AttachmentGetStrategy
Copyright © 2002-2015 Atlassian. All Rights Reserved.