com.bigdata.service.IEventReportingService Maven / Gradle / Ivy
package com.bigdata.service;
import java.util.Iterator;
/**
* Extension of the common service interface to support event reporting.
*
* @author Mike Personick
* @version $Id$
*/
public interface IEventReportingService {
/**
* Visits completed events that start in the given interval in order
* by their start time.
*/
public Iterator rangeIterator(long fromTime, long toTime);
/**
* Reports the #of completed events that start in the given
* interval.
*
* @param fromTime
* The first start time to be included.
* @param toTime
* The first start time to be excluded.
*
* @return The #of events whose start time is in that interval.
*/
public long rangeCount(long fromTime, long toTime);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy