com.atlassian.confluence.plugins.gadgets.gadgetspecstore
Class DefaultClusterSafeSubscribedGadgetFeedStore
java.lang.Object
com.atlassian.confluence.plugins.gadgets.gadgetspecstore.DefaultClusterSafeSubscribedGadgetFeedStore
- All Implemented Interfaces:
- com.atlassian.gadgets.directory.spi.SubscribedGadgetFeedStore
public class DefaultClusterSafeSubscribedGadgetFeedStore
- extends Object
- implements com.atlassian.gadgets.directory.spi.SubscribedGadgetFeedStore
Implementation that delegates all actions but performs mutative actions in the presence of a cluster wide lock.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultClusterSafeSubscribedGadgetFeedStore
public DefaultClusterSafeSubscribedGadgetFeedStore(ClusterManager clusterManager,
com.atlassian.bandana.BandanaManager bandanaManager,
SubscribedGadgetFeedIdGenerator subscribedGadgetFeedIdGenerator)
addFeed
public com.atlassian.gadgets.directory.spi.SubscribedGadgetFeed addFeed(URI feedUri)
- Specified by:
addFeed
in interface com.atlassian.gadgets.directory.spi.SubscribedGadgetFeedStore
removeFeed
public void removeFeed(String feedId)
- Specified by:
removeFeed
in interface com.atlassian.gadgets.directory.spi.SubscribedGadgetFeedStore
containsFeed
public boolean containsFeed(String feedId)
- Specified by:
containsFeed
in interface com.atlassian.gadgets.directory.spi.SubscribedGadgetFeedStore
getFeed
public com.atlassian.gadgets.directory.spi.SubscribedGadgetFeed getFeed(String feedId)
- Specified by:
getFeed
in interface com.atlassian.gadgets.directory.spi.SubscribedGadgetFeedStore
getAllFeeds
public Iterable<com.atlassian.gadgets.directory.spi.SubscribedGadgetFeed> getAllFeeds()
- Specified by:
getAllFeeds
in interface com.atlassian.gadgets.directory.spi.SubscribedGadgetFeedStore
Copyright © 2003-2013 Atlassian. All Rights Reserved.