public class PollingStoptimeUpdater extends PollingGraphUpdater
rt.type = stop-time-updater rt.frequencySec = 60 rt.sourceType = gtfs-http rt.url = http://host.tld/path rt.feedId = TA
pollingPeriodSeconds| Constructor and Description |
|---|
PollingStoptimeUpdater() |
| Modifier and Type | Method and Description |
|---|---|
void |
configurePolling(Graph graph,
com.fasterxml.jackson.databind.JsonNode config)
Mirrors GraphUpdater.configure method.
|
void |
runPolling()
Repeatedly makes blocking calls to an UpdateStreamer to retrieve new stop time updates, and
applies those updates to the graph.
|
void |
setGraphUpdaterManager(GraphUpdaterManager updaterManager)
Graph updaters must be aware of their manager to be able to execute GraphWriterRunnables.
|
void |
setup(Graph graph)
Here the updater can be initialized.
|
void |
teardown()
Here the updater can clean up after itself.
|
String |
toString() |
configure, runpublic void setGraphUpdaterManager(GraphUpdaterManager updaterManager)
GraphUpdaterpublic void configurePolling(Graph graph, com.fasterxml.jackson.databind.JsonNode config) throws Exception
PollingGraphUpdaterconfigurePolling in class PollingGraphUpdaterExceptionpublic void setup(Graph graph)
GraphUpdaterpublic void runPolling()
runPolling in class PollingGraphUpdaterpublic void teardown()
GraphUpdaterCopyright © 2018. All rights reserved.