- save(String) - Method in class org.transitime.db.structs.ConfigRevision
-
Stores this ConfigRevision into the database for the agencyId.
- SchedBasedPredsModule - Class in org.transitime.core.schedBasedPreds
-
The schedule based predictions module runs in the background.
- SchedBasedPredsModule(String) - Constructor for class org.transitime.core.schedBasedPreds.SchedBasedPredsModule
-
The constructor for the module.
- ScheduleDataProcessor - Class in org.transitime.statistics
-
For processing arrival/departure times based on AVL data in order to
determine more accurate schedule information.
- ScheduleDataProcessor(String, Date, Date, Time, double, int, int, boolean, int, int) - Constructor for class org.transitime.statistics.ScheduleDataProcessor
-
- ScheduleDataProcessor.TerminalDeparturesKey - Class in org.transitime.statistics
-
Special MapKey class so that can make sure using the proper key for the
departureTimesFromTerminalMap map in this class.
- ScheduleDataProcessor.TripStopKey - Class in org.transitime.statistics
-
Special MapKey class so that can make sure using the proper key for the
several maps in this class.
- scheduledDepartureTime(Indices, long) - Static method in class org.transitime.core.TravelTimes
-
Returns the scheduled epoch time vehicle is scheduled leave a wait stop.
- ScheduleGenerator - Class in org.transitime.applications
-
For generating more accurate schedule times for GTFS trips.txt file by
using departure data obtained via GPS.
- ScheduleGenerator() - Constructor for class org.transitime.applications.ScheduleGenerator
-
- ScheduleStatistics - Class in org.transitime.statistics
-
Contains methods for taking arrival/departure info that is collected
in maps and processing it to determine optimal schedule.
- ScheduleStatistics() - Constructor for class org.transitime.statistics.ScheduleStatistics
-
- ScheduleStatistics.Stats - Class in org.transitime.statistics
-
For containing the results of processing AVL based arrival/departure
times as part of determining more accurate schedule times.
- ScheduleTime - Class in org.transitime.db.structs
-
For keeping track of schedule times from GTFS data.
- ScheduleTime(Integer, Integer) - Constructor for class org.transitime.db.structs.ScheduleTime
-
Member Functions
- SchemaGenerator - Class in org.transitime.applications
-
For generating SQL schema files based on classes to be stored in database
that were annotated for Hibernate.
- SchemaGenerator(String, String) - Constructor for class org.transitime.applications.SchemaGenerator
-
- SchemaGenerator.ImprovedMySQLDialect - Class in org.transitime.applications
-
MySQL handles fractional seconds differently from PostGRES and other
DBs.
- SEC_IN_MSECS - Static variable in class org.transitime.utils.Time
-
- SEC_PER_DAY - Static variable in class org.transitime.utils.Time
-
- SEC_PER_HOUR - Static variable in class org.transitime.utils.Time
-
- SEC_PER_MIN - Static variable in class org.transitime.utils.Time
-
- secondaryRmiPort() - Static method in class org.transitime.configData.RmiConfig
-
Which secondary port to use for RMI calls, for once initial communication
has been established.
- secondaryRmiPort - Static variable in class org.transitime.ipc.rmi.RmiParams
-
- secondsStr(long) - Static method in class org.transitime.utils.Time
-
Outputs time in seconds with a single digit past the decimal point
- send(int, String) - Method in class org.transitime.avl.amigocloud.AmigoWebsockets
-
- send(String, String, String) - Method in class org.transitime.utils.EmailSender
-
Sends e-mail to the specified recipients.
- sendObjectMessage(Serializable) - Method in class org.transitime.ipc.jms.RestartableMessageProducer
-
For sending a message to a Topic or a Queue.
- sendTextMessage(String) - Method in class org.transitime.ipc.jms.RestartableMessageProducer
-
For sending a message to a Topic or a Queue.
- Server - Class in org.transitime.avl.socket
-
Test program.
- Server() - Constructor for class org.transitime.avl.socket.Server
-
- ServerStatusInterface - Interface in org.transitime.ipc.interfaces
-
RMI interface for determining the status of the server.
- ServerStatusInterfaceFactory - Class in org.transitime.ipc.clients
-
Provides a ServerStatusInterface client that can be queried for
server status info via IPC.
- ServerStatusInterfaceFactory() - Constructor for class org.transitime.ipc.clients.ServerStatusInterfaceFactory
-
- ServerStatusServer - Class in org.transitime.ipc.servers
-
Runs on the server side and receives IPC calls and returns results.
- servesStop(String) - Method in class org.transitime.db.structs.TripPattern
-
Returns true if this trip pattern includes the specified stopId.
- ServiceUtils - Class in org.transitime.core
-
For working with service types, such as determining serviceId or
appropriate block to use for a given epoch time.
- ServiceUtils(DbConfig) - Constructor for class org.transitime.core.ServiceUtils
-
ServiceUtils constructor.
- set(String, String) - Method in class org.transitime.api.data.ApiPredictions
-
For setting info about the agency.
- set(long) - Method in class org.transitime.utils.SettableSystemTime
-
So can update the time
- setArrivalToStoreToDb(Arrival) - Method in class org.transitime.core.VehicleState
-
Records the specified arrival as one that still needs to be stored to the
db.
- setAssignment(String, AvlReport.AssignmentType) - Method in class org.transitime.db.structs.AvlReport
-
Stores the assignment information as part of this AvlReport.
- setAvlReport(AvlReport) - Method in class org.transitime.core.VehicleState
-
Stores the specified avlReport into the history for the vehicle.
- setBadAssignmentsInARow(int) - Method in class org.transitime.core.VehicleState
-
- setBlock(Block, BlockAssignmentMethod, String, boolean) - Method in class org.transitime.core.VehicleState
-
Sets the block assignment for vehicle.
- setConfigRev(Session, int) - Method in class org.transitime.db.structs.ActiveRevisions
-
Updates configRev member and calls saveOrUpdate(this) on the session.
- setConfigRev(int) - Method in class org.transitime.db.structs.ActiveRevisions
-
Sets the config rev.
- setField1(String, String) - Method in class org.transitime.db.structs.AvlReport
-
For containing additional info as part of AVL feed that is
specific to a particular feed or a new element.
- setIsDelayed(boolean) - Method in class org.transitime.core.VehicleState
-
- setLastArrivalTime(long) - Method in class org.transitime.core.VehicleState
-
Stores the last arrival time so that can make sure that departure
times are after the arrival times.
- setLocations(ArrayList<Location>) - Method in class org.transitime.db.structs.StopPath
-
Locations are not available when StopPath is first created so
need to be able to set them after construction.
- setMatch(TemporalMatch) - Method in class org.transitime.core.VehicleState
-
Sets the match for the vehicle into the history.
- setMaxConcurrentCallsPerProject(int) - Static method in class org.transitime.ipc.rmi.RmiCallInvocationHandler
-
For if need to change max concurrent calls per project
- setPredictions(List<IpcPrediction>) - Method in class org.transitime.core.VehicleState
-
Sets the current list of predictions for the vehicle to the
predictions parameter.
- setRealTimeSchedAdh(TemporalDifference) - Method in class org.transitime.core.VehicleState
-
Stores the real-time schedule adherence for the vehicle.
- setRmiPort(int) - Static method in class org.transitime.ipc.rmi.RmiParams
-
- setSecondaryRmiPort(int) - Static method in class org.transitime.ipc.rmi.RmiParams
-
- setSystemTime(long) - Method in class org.transitime.applications.Core
-
For setting the system time when in playback or batch mode.
- SettableSystemTime - Class in org.transitime.utils
-
For when need a system time that can be set to a specific value.
- SettableSystemTime(long) - Constructor for class org.transitime.utils.SettableSystemTime
-
Member Functions
- SettableSystemTime() - Constructor for class org.transitime.utils.SettableSystemTime
-
- setTimeProcessed() - Method in class org.transitime.db.structs.AvlReport
-
Updates the object to record the current time as the time that
the data was actually processed.
- setTimezone() - Static method in class org.transitime.utils.TimeZoneSetter
-
For setting timezone for application to name specified by the Java
property transitime.core.timezone.
- setTravelTimes(TravelTimesForTrip) - Method in class org.transitime.db.structs.Trip
-
TravelTimesForTrip created after the Trip.
- setTravelTimesRev(Session, int) - Method in class org.transitime.db.structs.ActiveRevisions
-
Updates travelTimeRev member and calls saveOrUpdate(this) on the session.
- setTravelTimesRev(int) - Method in class org.transitime.db.structs.ActiveRevisions
-
Sets the travel time rev.
- setTripPattern(TripPattern) - Method in class org.transitime.db.structs.Trip
-
TripPattern is created after the Trip.
- setTripPatternId(String) - Method in class org.transitime.db.structs.StopPath
-
So can set the tripPatternId once it is known (which happens after
StopPath is constructed).
- SfmtaApiCaller - Class in org.transitime.custom.missionBay
-
- SfmtaApiCaller() - Constructor for class org.transitime.custom.missionBay.SfmtaApiCaller
-
- SfmtaTrackerDataProcessor - Class in org.transitime.custom.sfmta.delayTimes
-
An experiment for determining using GPS how much time is lost
when a bus has to stop at 4-way stop.
- SfmtaTrackerDataProcessor() - Constructor for class org.transitime.custom.sfmta.delayTimes.SfmtaTrackerDataProcessor
-
- shouldBeExclusive() - Method in class org.transitime.db.structs.Block
-
Returns true if this block assignment should be exclusive, such that when
a vehicle is assigned to this block any other vehicles assigned to this
block will have their assignments removed.
- shouldCreateUnscheduledBlock() - Method in class org.transitime.gtfs.gtfsStructs.GtfsRoute
-
Returns true if should create unscheduled block assignments for this
route.
- shouldDelete() - Method in class org.transitime.gtfs.gtfsStructs.GtfsShape
-
- shouldDelete() - Method in class org.transitime.gtfs.gtfsStructs.GtfsStopTime
-
- shouldDeleteFromRoute(String, String) - Method in class org.transitime.gtfs.gtfsStructs.GtfsStop
-
Returns true if the routeShortNameToDeleteFrom specified is defined in
deleteFromRoutes.
- shouldLogToStdOut() - Static method in class org.transitime.configData.AvlConfig
-
For debugging.
- shouldRemove() - Method in class org.transitime.gtfs.gtfsStructs.GtfsRoute
-
Returns if route should be removed from configuration so it
doesn't show up at all
- shouldTimeoutVehicle(VehicleState, long) - Static method in class org.transitime.core.schedBasedPreds.SchedBasedPredsModule
-
Determines if schedule based vehicle should be timed out.
- shouldUseJms() - Static method in class org.transitime.configData.AvlConfig
-
Specifies whether should use JMS to queue AVL data or if should
process directly using single thread.
- SiriApi - Class in org.transitime.api.rootResources
-
The Siri API
- SiriApi() - Constructor for class org.transitime.api.rootResources.SiriApi
-
- SiriFramedVehicleJourneyRef - Class in org.transitime.api.data.siri
-
Describes the trip
- SiriFramedVehicleJourneyRef(IpcVehicle, DateFormat) - Constructor for class org.transitime.api.data.siri.SiriFramedVehicleJourneyRef
-
Constructor
- SiriLocation - Class in org.transitime.api.data.siri
-
Location object for SIRI
- SiriLocation(double, double) - Constructor for class org.transitime.api.data.siri.SiriLocation
-
- SiriMonitoredCall - Class in org.transitime.api.data.siri
-
For SIRI MonitorCall element.
- SiriMonitoredCall(IpcVehicleComplete, IpcPrediction, DateFormat) - Constructor for class org.transitime.api.data.siri.SiriMonitoredCall
-
Constructs a MonitoredCall element.
- SiriMonitoredCall.Distances - Class in org.transitime.api.data.siri
-
The MTA Bus Time extensions to show distance of the vehicle from the stop
- SiriMonitoredCall.Extensions - Class in org.transitime.api.data.siri
-
The MTA Bus Time extensions to show distance of the vehicle from the stop
- SiriMonitoredVehicleJourney - Class in org.transitime.api.data.siri
-
For SIRI MonitoredVehicleJourney element
- SiriMonitoredVehicleJourney(IpcVehicleComplete, IpcPrediction, String, DateFormat, DateFormat) - Constructor for class org.transitime.api.data.siri.SiriMonitoredVehicleJourney
-
Constructs that massive MonitoredVehicleJourney element.
- SiriStopMonitoring - Class in org.transitime.api.data.siri
-
Top level XML element for SIRI StopMonitoring command.
- SiriStopMonitoring(List<IpcPredictionsForRouteStopDest>, Collection<IpcVehicleComplete>, String) - Constructor for class org.transitime.api.data.siri.SiriStopMonitoring
-
- SiriVehiclesMonitoring - Class in org.transitime.api.data.siri
-
Top level XML element for SIRI VehicleMonitoring command.
- SiriVehiclesMonitoring(Collection<IpcVehicleComplete>, String) - Constructor for class org.transitime.api.data.siri.SiriVehiclesMonitoring
-
- sixDigitFormat(double) - Static method in class org.transitime.utils.StringUtils
-
For formatting double to 6 decimal places.
- sizeof(Object) - Static method in class org.transitime.db.hibernate.HibernateUtils
-
Determines the size of a serializable object by serializing it in memory
and then measuring the resulting size in bytes.
- sleep(long) - Static method in class org.transitime.utils.Time
-
Simply calls Thread.sleep() but catches the InterruptedException
so that the calling function doesn't need to.
- sleepTimeMsec - Static variable in class org.transitime.maintenance.AwsGlacierInventoryRetriever
-
- snsClient - Variable in class org.transitime.maintenance.AwsGlacier
-
- snsClient - Variable in class org.transitime.maintenance.AwsGlacierInventoryRetriever
-
- snsSubscriptionARN - Variable in class org.transitime.maintenance.AwsGlacierInventoryRetriever
-
- snsTopicARN - Variable in class org.transitime.maintenance.AwsGlacierInventoryRetriever
-
- snsTopicName - Static variable in class org.transitime.maintenance.AwsGlacierInventoryRetriever
-
- sort(List<IpcActiveBlock>) - Static method in class org.transitime.ipc.data.IpcActiveBlock
-
Sorts the list of IpcActiveBlock objects by route and then by trip start time
- sortIds(List<String>) - Static method in class org.transitime.utils.StringUtils
-
Sorts the list of IDs.
- sortIdsNumerically(List<String>) - Static method in class org.transitime.utils.StringUtils
-
Sorts the list of IDs.
- spaceInQueue() - Method in class org.transitime.utils.threading.BoundedExecutor
-
Returns how many items can still be added to the executor's queue.
- SpatialMatch - Class in org.transitime.core
-
Describes where an AVL report matches to an assignment spatially.
- SpatialMatch(long, Block, int, int, int, double, double) - Constructor for class org.transitime.core.SpatialMatch
-
Member Functions
- SpatialMatch(SpatialMatch, Trip) - Constructor for class org.transitime.core.SpatialMatch
-
For making a copy of the SpatialMatch for the same trip pattern but for a
new trip/block.
- SpatialMatch(SpatialMatch, Indices, double) - Constructor for class org.transitime.core.SpatialMatch
-
Constructs a new SpatialMatch but at the new indices specified.
- SpatialMatcher - Class in org.transitime.core
-
For determining possible spatial matches.
- speedFormat(float) - Static method in class org.transitime.utils.Geo
-
Outputs speed in m/s with just a single digit past the
decimal point.
- sqlTypes() - Method in class org.transitime.db.hibernate.PrecisionTimestampType
-
Member Functions
- sqsClient - Variable in class org.transitime.maintenance.AwsGlacier
-
- sqsClient - Variable in class org.transitime.maintenance.AwsGlacierInventoryRetriever
-
- sqsQueueARN - Variable in class org.transitime.maintenance.AwsGlacierInventoryRetriever
-
- sqsQueueName - Static variable in class org.transitime.maintenance.AwsGlacierInventoryRetriever
-
- sqsQueueURL - Variable in class org.transitime.maintenance.AwsGlacierInventoryRetriever
-
- standardDeviation - Variable in class org.transitime.statistics.ScheduleStatistics.Stats
-
- StandardParameters - Class in org.transitime.api.utils
-
For getting the standard parameters from the URI used to access the feed.
- StandardParameters() - Constructor for class org.transitime.api.utils.StandardParameters
-
- start(String) - Static method in class org.transitime.ipc.servers.CommandsServer
-
Starts up the CommandsServer so that RMI calls can be used to control the
server.
- start(String) - Static method in class org.transitime.ipc.servers.ConfigServer
-
Starts up the ConfigServer so that RMI calls can query for configuration
data.
- start(String, PredictionDataCache) - Static method in class org.transitime.ipc.servers.PredictionsServer
-
Starts up the PredictionsServer so that RMI calls can query for
predictions.
- start(String) - Static method in class org.transitime.ipc.servers.ServerStatusServer
-
- start(String, VehicleDataCache) - Static method in class org.transitime.ipc.servers.VehiclesServer
-
Starts up the VehiclesServer so that RMI calls can query for predictions.
- start() - Method in class org.transitime.modules.Module
-
Starts up the thread that runs the module by calling the Runnable.run()
method for the Module's subclass.
- start(String) - Static method in class org.transitime.modules.Module
-
Runs the named module in a separate thread using the default agencyId.
- start(String, String) - Static method in class org.transitime.modules.Module
-
Runs the named module in a separate thread.
- startNonRealtimeWebsockets() - Method in class org.transitime.avl.AmigoCloudAvlModule
-
For in case want to test a non-realtime amigocloud feed
- startRealtimeWebsockets() - Method in class org.transitime.avl.AmigoCloudAvlModule
-
Initiates a real-time amigocloud feed
- Statistics - Class in org.transitime.statistics
-
Some miscellaneous statistics functions such as determining average values
from a list and for determining average after filtering out of outliers from
a list.
- Statistics() - Constructor for class org.transitime.statistics.Statistics
-
- Stats() - Constructor for class org.transitime.statistics.ScheduleStatistics.Stats
-
- Stop - Class in org.transitime.db.structs
-
For storing in db information on a stop.
- Stop(int, GtfsStop, TitleFormatter) - Constructor for class org.transitime.db.structs.Stop
-
Constructor
- STOP_TIME_NOT_VALID - Static variable in class org.transitime.core.travelTimes.TravelTimeInfo
-
- stopId - Variable in class org.transitime.gtfs.StopsByLoc.StopInfo
-
- stopIds - Variable in class org.transitime.core.predAccuracy.PredictionAccuracyModule.RouteAndStops
-
- StopInfo(TripPattern, String, String, double) - Constructor for class org.transitime.gtfs.StopsByLoc.StopInfo
-
- StopPath - Class in org.transitime.db.structs
-
A StopPath is a set of points that defines how a vehicle gets from one stop
to another.
- StopPath(int, String, String, int, boolean, String, boolean, boolean, boolean, Integer) - Constructor for class org.transitime.db.structs.StopPath
-
Simple constructor
- StopPathProcessor - Class in org.transitime.gtfs
-
Part of GtfsData class.
- StopPathProcessor(Collection<GtfsShape>, Map<String, Stop>, Collection<TripPattern>, double, double, double, boolean) - Constructor for class org.transitime.gtfs.StopPathProcessor
-
Constructor.
- StopsByLoc - Class in org.transitime.gtfs
-
For determining which stops are near a location.
- StopsByLoc() - Constructor for class org.transitime.gtfs.StopsByLoc
-
- StopsByLoc.StopInfo - Class in org.transitime.gtfs
-
For describing a stop.
- store(String) - Method in class org.transitime.db.webstructs.WebAgency
-
Stores this WebAgency object in the specified db.
- storeApiKey(String) - Method in class org.transitime.db.webstructs.ApiKey
-
Stores the ApiKey in the database
- storeAvlReport(AvlReport) - Method in class org.transitime.core.TimeoutHandlerModule
-
Stores the specified AVL report into map so know the last time received
AVL data for the vehicle.
- storeDataInDatabase() - Static method in class org.transitime.configData.CoreConfig
-
When in playback mode or some other situations don't want to store
generated data such as arrivals/departures, events, and such to the
database because only debugging.
- StringConfigValue - Class in org.transitime.config
-
For specifying a String parameter that can be read in from xml config file.
- StringConfigValue(String, String) - Constructor for class org.transitime.config.StringConfigValue
-
Constructor.
- StringConfigValue(String, String, String) - Constructor for class org.transitime.config.StringConfigValue
-
Constructor for when there is a default value.
- StringConfigValue(String, String, String, boolean) - Constructor for class org.transitime.config.StringConfigValue
-
Constructor.
- StringListConfigValue - Class in org.transitime.config
-
For specifying a List of Strings parameter that can be read in from xml
config file.
- StringListConfigValue(String, String) - Constructor for class org.transitime.config.StringListConfigValue
-
When parameter set as a command line argument then the
ConfigValue.LIST_SEPARATOR is used (";") when need to specify multiple
items.
- StringListConfigValue(String, List<String>, String) - Constructor for class org.transitime.config.StringListConfigValue
-
When parameter set as a command line argument then the
ConfigValue.LIST_SEPARATOR is used (";") when need to specify multiple
items.
- StringUtils - Class in org.transitime.utils
-
Simple string utilities such as for formating double to desired number of
decimal places.
- StringUtils() - Constructor for class org.transitime.utils.StringUtils
-
- SystemCpuMonitor - Class in org.transitime.monitoring
-
Monitors to make sure that server CPU is not too high.
- SystemCpuMonitor(EmailSender, String) - Constructor for class org.transitime.monitoring.SystemCpuMonitor
-
Simple constructor
- SystemCurrentTime - Class in org.transitime.utils
-
Implements SystemTime and returns the system current time when get()
is called.
- SystemCurrentTime() - Constructor for class org.transitime.utils.SystemCurrentTime
-
- SystemDiskSpaceMonitor - Class in org.transitime.monitoring
-
Monitors to make sure there is sufficient disk space.
- SystemDiskSpaceMonitor(EmailSender, String) - Constructor for class org.transitime.monitoring.SystemDiskSpaceMonitor
-
Simple constructor
- SystemMemoryMonitor - Class in org.transitime.monitoring
-
For monitoring CPU, available memory, and available disk space.
- SystemMemoryMonitor(EmailSender, String) - Constructor for class org.transitime.monitoring.SystemMemoryMonitor
-
Simple constructor
- SystemTime - Interface in org.transitime.utils
-
So that can have access to a system time whether in normal
mode where the system clock can be used, or playback mode
where use the last AVL time.