Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 

P

paddedName(String) - Static method in class org.transitime.utils.StringUtils
Returns the name passed in, but the first number in the name is padded with zeros so that the numbers have the same number of digits.
padWithBlanks(String, int) - Static method in class org.transitime.utils.StringUtils
Returns original string padded with spaces so that it is desiredCharacters long.
parse(String) - Static method in class org.transitime.avl.NmeaGpsLocation
Returns location from NMEA string.
parse(String) - Static method in class org.transitime.utils.Time
Parses the datetimeStr and returns a Date object.
parseDate(String) - Static method in class org.transitime.utils.Time
Parses the dateStr and returns a Date object.
parseIgnoringChecksum(String) - Static method in class org.transitime.avl.NmeaGpsLocation
Returns location from NMEA string.
parseMessage(String) - Method in class org.transitime.avl.amigocloud.AmigoWebsockets
 
parseReport(DatagramPacket) - Static method in class org.transitime.avl.calAmp.Report
Reads the CalAmp report from the DatagramPacket bytes
parseTimeOfDay(String) - Static method in class org.transitime.utils.Time
Parses a time such as HH:MM:SS or HH:MM into seconds into the day.
parseUsingTimezone(String) - Method in class org.transitime.utils.Time
Parses the dateStr into a Date using the timezone for this Time object.
pauseIfDbQueueFilling() - Static method in class org.transitime.configData.CoreConfig
When in batch mode can flood db with lots of objects.
PidFile - Class in org.transitime.monitoring
For creating a PID file.
PidFile() - Constructor for class org.transitime.monitoring.PidFile
 
pingAgency(String) - Static method in class org.transitime.ipc.clients.AgencyMonitorClient
Member Functions
pingAllAgencies() - Static method in class org.transitime.ipc.clients.AgencyMonitorClient
Does a simple ping to each agency to make sure that the core for that agency is running and can communicate with it via IPC.
PlaybackModule - Class in org.transitime.avl
For running the system in "playback mode" where AVL data is read from the database instead of from a realtime AVL feed.
PlaybackModule(String) - Constructor for class org.transitime.avl.PlaybackModule
 
poll() - Method in class org.transitime.avl.AvlQueue
Calls superclass poll() method until it gets AVL data that is not obsolete.
poll(long, TimeUnit) - Method in class org.transitime.avl.AvlQueue
Calls superclass poll(timeout, unit) method until it gets AVL data that is not obsolete.
PollUrlAvlModule - Class in org.transitime.avl
Subclass of AvlModule to be used when reading AVL data from a feed.
postAvlReportWhenAppropriate(AvlReport) - Static method in class org.transitime.custom.missionBay.SfmtaApiCaller
To be called when system has a new AVL report.
postStopReport(String, int, double, double, Date, Date) - Static method in class org.transitime.custom.missionBay.SfmtaApiCaller
Posts a single stop report to the SFMTA API.
postStopReports(List<SfmtaApiCaller.StopInfo>) - Static method in class org.transitime.custom.missionBay.SfmtaApiCaller
Posts list of stop data to SFMTA API
PrecisionTimestampType - Class in org.transitime.db.hibernate
The purpose of this class was to have a custom hibernate type for a Timestamp column so that could write fractional seconds.
PrecisionTimestampType() - Constructor for class org.transitime.db.hibernate.PrecisionTimestampType
 
PredAccuracyIntervalQuery - Class in org.transitime.reports
For doing SQL query and generating JSON data for a prediction accuracy intervals chart.
PredAccuracyIntervalQuery(String, String, String, String, String) - Constructor for class org.transitime.reports.PredAccuracyIntervalQuery
Creates connection to database.
PredAccuracyIntervalQuery(String) - Constructor for class org.transitime.reports.PredAccuracyIntervalQuery
Creates connection to database for the specified agency
PredAccuracyPrediction - Class in org.transitime.core.predAccuracy
For prediction accuracy analysis.
PredAccuracyPrediction(String, String, String, String, String, Date, Date, boolean, Boolean, String) - Constructor for class org.transitime.core.predAccuracy.PredAccuracyPrediction
Constructor
PredAccuracyRangeQuery - Class in org.transitime.reports
For generating the JSON data for a Google chart for showing percent of predictions that lie between an error range.
PredAccuracyRangeQuery(String, String, String, String, String) - Constructor for class org.transitime.reports.PredAccuracyRangeQuery
Creates connection to database.
PredAccuracyRangeQuery(String) - Constructor for class org.transitime.reports.PredAccuracyRangeQuery
Creates connection to database specified by the agencyId.
PredictabilityMonitor - Class in org.transitime.monitoring
Monitors how many vehicles are predictable compared to how many active blocks there currently are.
PredictabilityMonitor(EmailSender, String) - Constructor for class org.transitime.monitoring.PredictabilityMonitor
Simple constructor
PREDICTABLE - Static variable in class org.transitime.db.structs.VehicleEvent
 
Prediction - Class in org.transitime.db.structs
For persisting a prediction.
Prediction(long, long, String, String, String, String, boolean, boolean, boolean) - Constructor for class org.transitime.db.structs.Prediction
Constructor called when creating a DbPrediction object to be stored in database.
Prediction(IpcPrediction) - Constructor for class org.transitime.db.structs.Prediction
 
PredictionAccuracy - Class in org.transitime.db.structs
A database object for persisting information on how accurate a prediction was compared to the actual measured arrival/departure time for the vehicle.
PredictionAccuracy(String, String, String, String, Date, Date, Date, String, String, Boolean) - Constructor for class org.transitime.db.structs.PredictionAccuracy
Simple constructor
PredictionAccuracyModule - Class in org.transitime.core.predAccuracy
Reads internal predictions every transitime.predAccuracy.pollingRateMsec and stores the predictions into memory.
PredictionAccuracyModule(String) - Constructor for class org.transitime.core.predAccuracy.PredictionAccuracyModule
The constructor for the module.
PredictionAccuracyModule.RouteAndStops - Class in org.transitime.core.predAccuracy
For keeping track of which routes and stops to get predictions for.
PredictionAccuracyQuery - Class in org.transitime.reports
For doing SQL query and generating JSON data for a prediction accuracy chart.
PredictionAccuracyQuery(String, String, String, String, String) - Constructor for class org.transitime.reports.PredictionAccuracyQuery
Creates connection to database.
PredictionAccuracyQuery(String) - Constructor for class org.transitime.reports.PredictionAccuracyQuery
Creates connection to the database for the specified agency.
PredictionAccuracyQuery.IntervalsType - Enum in org.transitime.reports
 
PredictionDataCache - Class in org.transitime.core.dataCache
For storing and retrieving predictions by stop.
PredictionDataCache() - Constructor for class org.transitime.core.dataCache.PredictionDataCache
 
PredictionGenerator - Interface in org.transitime.core
Defines the interface for generating predictions.
PredictionGeneratorDefaultImpl - Class in org.transitime.core
When a new match based on AVL data is made for a vehicle the methods in this class are used to generate the corresponding predictions.
PredictionGeneratorDefaultImpl() - Constructor for class org.transitime.core.PredictionGeneratorDefaultImpl
 
PredictionGeneratorFactory - Class in org.transitime.core
For instantiating a PredictionGenerator object that generates predictions when a new match is generated for a vehicle.
PredictionGeneratorFactory() - Constructor for class org.transitime.core.PredictionGeneratorFactory
 
PredictionsInterface - Interface in org.transitime.ipc.interfaces
Defines the RMI interface used for obtaining predictions.
PredictionsInterface.RouteStop - Class in org.transitime.ipc.interfaces
This class is for use as key into hash maps that store prediction data.
PredictionsInterfaceFactory - Class in org.transitime.ipc.clients
Provides a PredictionsInterface client that can be queried for predictions.
PredictionsInterfaceFactory() - Constructor for class org.transitime.ipc.clients.PredictionsInterfaceFactory
 
PredictionsServer - Class in org.transitime.ipc.servers
Implements the PredictionsInterface interface on the server side such that a PredictionsInterfaceFactory can make RMI calls in order to obtain prediction information.
PredsByLoc - Class in org.transitime.api.predsByLoc
For determining predictions by location for when agency is not specified so need to look through all agencies.
PredsByLoc() - Constructor for class org.transitime.api.predsByLoc.PredsByLoc
 
previousAssignmentProblematic(AvlReport) - Method in class org.transitime.core.VehicleState
Returns true if previously the vehicle had the same assignment but that assignment was recently removed due to a problem where the vehicle shouldn't be assigned to that assignment again.
problemMatchDueToLackOfHeadingInfo(SpatialMatch, VehicleState) - Static method in class org.transitime.core.SpatialMatcher
Checks to see if for a non-layover match if can verify that the vehicle is moving in the proper direction.
process() - Method in class org.transitime.applications.GtfsFileProcessor
Once the GtfsFileProcessor is constructed and the options have been set then this function is used to actually process the GTFS data and store it into the database.
process() - Method in class org.transitime.avl.calAmp.MiniEventReport
Converts the CalAmp MiniEventReport into a an AvlReport and processes it.
process() - Method in class org.transitime.avl.calAmp.Report
Actually process the already created report.
process() - Method in class org.transitime.feed.gtfsRt.GtfsRtVehiclePositionsReaderBase
Actually processes the GTFS-realtime file and calls handleAvlReport() for each AvlReport.
process(int) - Method in class org.transitime.gtfs.BlocksProcessor
Actually processes the trips into block assignments.
process(Session, GtfsData) - Method in class org.transitime.gtfs.TravelTimesProcessorForGtfsUpdates
For trips where travel times not set in database via GPS data default travel times are created by looking at the schedule times and interpolating.
process() - Method in class org.transitime.statistics.ScheduleDataProcessor
Reads original stop_times.txt file, reads in arrival/departures from the database, processes the arrival/departure info to determine more accurate schedule times, and writes the results to new stop_times files.
processAvlReport(AvlReport, boolean...) - Method in class org.transitime.avl.AvlExecutor
Instead of writing AVL report to JMS topic this method directly processes it.
processAvlReport(AvlReport) - Method in class org.transitime.core.AvlProcessor
First does housekeeping for the AvlReport (stores it in db, logs it, etc).
processConfig(String) - Static method in class org.transitime.config.ConfigFileReader
Processes specified config file and overrides the config parameters accordingly.
processConfig() - Static method in class org.transitime.config.ConfigFileReader
Process the configuration file specified by a file named transitime.properties that is in the classpath.
processData() - Method in class org.transitime.gtfs.GtfsData
Does all the work.
processPathSegments() - Method in class org.transitime.gtfs.StopPathProcessor
Determines the path segments for each trip pattern.
processScheduleAdherence(Map<ScheduleDataProcessor.TripStopKey, GtfsStopTime>, Map<ScheduleDataProcessor.TripStopKey, ScheduleStatistics.Stats>, Map<ScheduleDataProcessor.TripStopKey, ScheduleStatistics.Stats>, int, int) - Static method in class org.transitime.statistics.ScheduleStatistics
Determines and logs schedule adherence results both using the original schedule and using the new improved schedule.
processTitle(String) - Method in class org.transitime.gtfs.TitleFormatter
Takes a title, obtained from GTFS data, and makes it more readable.
purelyScheduleBased() - Method in class org.transitime.db.structs.TravelTimesForTrip
Returns true if every single stop path travel time is schedule based.
pushAvl(IpcAvl) - Method in interface org.transitime.ipc.interfaces.CommandsInterface
Sends AVL data to server.
pushAvl(Collection<IpcAvl>) - Method in interface org.transitime.ipc.interfaces.CommandsInterface
Sends collection of AVL data to server.
pushAvl(IpcAvl) - Method in class org.transitime.ipc.servers.CommandsServer
Called on server side via RMI when AVL data is to be processed
pushAvl(Collection<IpcAvl>) - Method in class org.transitime.ipc.servers.CommandsServer
Called on server side via RMI when AVL data is to be processed
pushAvlData(StandardParameters, String, long, double, double, float, float, String, String) - Method in class org.transitime.api.rootResources.CommandsApi
Reads in a single AVL report specified by the query string parameters v=vehicleId &t=epochTimeInMsec&lat=latitude&lon=longitude&s=speed(optional) &h=heading(option) .
pushAvlData(StandardParameters, InputStream) - Method in class org.transitime.api.rootResources.CommandsApi
Processes a POST http request contain AVL data in the message body in JSON format.
put(String, GtfsRealtime.FeedMessage) - Method in class org.transitime.api.gtfsRealtime.DataCache
 
put(Runnable) - Method in class org.transitime.avl.AvlQueue
Calls superclass add() method but also updates the AVL data per vehicle map.
put(K, V) - Method in class org.transitime.utils.ConcurrentHashMapNullKeyOk
 
putIfAbsent(K, V) - Method in class org.transitime.utils.ConcurrentHashMapNullKeyOk
 
putPath(String, String, StopPath) - Method in class org.transitime.gtfs.GtfsData
Adds the StopPath object to the pathMap.
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
Skip navigation links