org.onebusaway.transit_data_federation.impl.realtime.history
Class RealTimeHistoryServiceImpl

java.lang.Object
  extended by org.onebusaway.transit_data_federation.impl.realtime.history.RealTimeHistoryServiceImpl
All Implemented Interfaces:
RealTimeHistoryService

@Component
public class RealTimeHistoryServiceImpl
extends Object
implements RealTimeHistoryService


Constructor Summary
RealTimeHistoryServiceImpl()
           
 
Method Summary
 ScheduleDeviationHistogram getScheduleDeviationHistogramForArrivalAndDepartureInstance(ArrivalAndDepartureInstance instance, int stepSizeInSeconds)
           
 ScheduleDeviationSamples sampleScheduleDeviationsForVehicle(BlockInstance instance, VehicleLocationRecord record, ScheduledBlockLocation scheduledBlockLocation)
           
 void setPredictionLookahead(int predictionLookahead)
           
 void setScheduleDeviationHistoryDao(ScheduleDeviationHistoryDaoImpl scheduleDeviationHistoryDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealTimeHistoryServiceImpl

public RealTimeHistoryServiceImpl()
Method Detail

setScheduleDeviationHistoryDao

public void setScheduleDeviationHistoryDao(ScheduleDeviationHistoryDaoImpl scheduleDeviationHistoryDao)

setPredictionLookahead

public void setPredictionLookahead(int predictionLookahead)

getScheduleDeviationHistogramForArrivalAndDepartureInstance

public ScheduleDeviationHistogram getScheduleDeviationHistogramForArrivalAndDepartureInstance(ArrivalAndDepartureInstance instance,
                                                                                              int stepSizeInSeconds)
Specified by:
getScheduleDeviationHistogramForArrivalAndDepartureInstance in interface RealTimeHistoryService

sampleScheduleDeviationsForVehicle

public ScheduleDeviationSamples sampleScheduleDeviationsForVehicle(BlockInstance instance,
                                                                   VehicleLocationRecord record,
                                                                   ScheduledBlockLocation scheduledBlockLocation)
Specified by:
sampleScheduleDeviationsForVehicle in interface RealTimeHistoryService


Copyright © 2012 OneBusAway. All Rights Reserved.