StatisticMapRepository.java from Tea Stats at Krugle
Show StatisticMapRepository.java syntax highlighted
/*
* This file is distributed under the GPL v2 as part of teastats site statistics package
* http://teastats.sourceforge.net
*/
package net.time4tea.webstats.statistic.repo;
import net.time4tea.webstats.jms.EnvironmentException;
import net.time4tea.webstats.statistic.StatisticMap;
import org.joda.time.Instant;
import java.util.Collection;
/**
* Originally richja Apr 28, 2006
*/
public interface StatisticMapRepository {
StatisticMap getStatisticMapForInstant(String name, Instant instant) throws EnvironmentException;
Collection<StatisticMap> findAll() throws EnvironmentException;
Collection<Instant> findPeriodsAvailableForNamedMap(String name) throws EnvironmentException;
void sync() throws EnvironmentException;
}
See more files for this project here