org.onebusaway.transit_data_federation.impl.realtime.mybus
Class TimepointPredictionServiceImpl

java.lang.Object
  extended by org.onebusaway.transit_data_federation.impl.realtime.mybus.TimepointPredictionServiceImpl

@ManagedResource(value="org.onebusaway.transit_data_federation.impl.realtime.mybus:name=TimepointPredictionServiceImpl")
public class TimepointPredictionServiceImpl
extends Object


Constructor Summary
TimepointPredictionServiceImpl()
           
 
Method Summary
 long getMappedTripIdCount()
           
 long getNoPredictionCount()
           
 long getPredictionCount()
          Statistics Methods
 long getUnmappedTripIdCount()
           
 void setAgencyId(String agencyId)
           
 void setAgencyIds(List<String> agencyIds)
           
 void setBlockCalendarService(BlockCalendarService blockCalendarService)
           
 void setIncludeTimepointPredictionRecords(boolean includeTimepointPredictionRecords)
           
 void setServerName(String name)
           
 void setServerPort(int port)
           
 void setTransitGraphDao(TransitGraphDao transitGraph)
           
 void setTripIdMapping(Map<String,String> tripIdMapping)
           
 void setTripIdMappingPath(File tripIdMapping)
           
 void setVehicleLocationListener(VehicleLocationListener vehicleLocationListener)
           
 void shutdown()
           
 void startup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimepointPredictionServiceImpl

public TimepointPredictionServiceImpl()
Method Detail

setServerName

public void setServerName(String name)

setServerPort

public void setServerPort(int port)

setTripIdMappingPath

public void setTripIdMappingPath(File tripIdMapping)

setTripIdMapping

public void setTripIdMapping(Map<String,String> tripIdMapping)

setAgencyId

public void setAgencyId(String agencyId)

setAgencyIds

public void setAgencyIds(List<String> agencyIds)

setIncludeTimepointPredictionRecords

public void setIncludeTimepointPredictionRecords(boolean includeTimepointPredictionRecords)

setTransitGraphDao

public void setTransitGraphDao(TransitGraphDao transitGraph)

setBlockCalendarService

public void setBlockCalendarService(BlockCalendarService blockCalendarService)

setVehicleLocationListener

public void setVehicleLocationListener(VehicleLocationListener vehicleLocationListener)

startup

@PostConstruct
public void startup()

shutdown

@PreDestroy
public void shutdown()

getPredictionCount

@ManagedAttribute
public long getPredictionCount()
Statistics Methods


getUnmappedTripIdCount

@ManagedAttribute
public long getUnmappedTripIdCount()

getNoPredictionCount

@ManagedAttribute
public long getNoPredictionCount()

getMappedTripIdCount

@ManagedAttribute
public long getMappedTripIdCount()


Copyright © 2011 OneBusAway. All Rights Reserved.