added in memory cache and redis cache and marked them as application scoped

This commit is contained in:
Athou
2013-06-29 11:20:53 +02:00
parent c2af4de96b
commit 27e03e3038
7 changed files with 161 additions and 30 deletions

View File

@@ -10,6 +10,8 @@ import javax.inject.Inject;
import javax.inject.Singleton;
import org.apache.commons.lang3.time.DateUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.commafeed.backend.MetricsBean;
import com.commafeed.backend.dao.FeedDAO;
@@ -21,6 +23,8 @@ import com.google.common.collect.Queues;
@Singleton
public class FeedRefreshTaskGiver {
protected static final Logger log = LoggerFactory.getLogger(FeedRefreshTaskGiver.class);
@Inject
FeedDAO feedDAO;