public class DualStoreConsistentOperationStrategy extends Object implements StoreOperationStrategy
Constructor and Description |
---|
DualStoreConsistentOperationStrategy(StreamAttachmentStore primaryAttachmentStore,
StreamAttachmentStore secondaryAttachmentStore) |
Modifier and Type | Method and Description |
---|---|
<V> com.atlassian.util.concurrent.Promise<V> |
perform(com.atlassian.util.concurrent.Function<StreamAttachmentStore,com.atlassian.util.concurrent.Promise<V>> operation) |
public DualStoreConsistentOperationStrategy(StreamAttachmentStore primaryAttachmentStore, StreamAttachmentStore secondaryAttachmentStore)
public <V> com.atlassian.util.concurrent.Promise<V> perform(com.atlassian.util.concurrent.Function<StreamAttachmentStore,com.atlassian.util.concurrent.Promise<V>> operation)
perform
in interface StoreOperationStrategy
Copyright © 2002-2015 Atlassian. All Rights Reserved.