com.bigdata.service
Interface IEventReportingService

All Known Implementing Classes:
DummyEventReportingService, EventReceiver, LoadBalancerServer.AdministrableLoadBalancer, LoadBalancerService

public interface IEventReportingService

Extension of the common service interface to support event reporting.

Version:
$Id: IEventReportingService.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Mike Personick

Method Summary
 long rangeCount(long fromTime, long toTime)
          Reports the #of completed events that start in the given interval.
 Iterator<Event> rangeIterator(long fromTime, long toTime)
          Visits completed events that start in the given interval in order by their start time.
 

Method Detail

rangeIterator

Iterator<Event> rangeIterator(long fromTime,
                              long toTime)
Visits completed events that start in the given interval in order by their start time.


rangeCount

long rangeCount(long fromTime,
                long toTime)
Reports the #of completed events that start in the given interval.

Parameters:
fromTime - The first start time to be included.
toTime - The first start time to be excluded.
Returns:
The #of events whose start time is in that interval.


Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.