public class BikeParkUpdater extends PollingGraphUpdater
fietsstalling.type = bike-park fietsstalling.frequencySec = 600 fietsstalling.sourceType = kml-placemarks fietsstalling.url = http://host.tld/fietsstalling.kmlBike park-and-ride and "OV-fiets mode" development has been funded by GoAbout (https://goabout.com/).
frequencySec
Constructor and Description |
---|
BikeParkUpdater() |
Modifier and Type | Method and Description |
---|---|
protected void |
configurePolling(Graph graph,
com.fasterxml.jackson.databind.JsonNode config)
Mirrors GraphUpdater.configure method.
|
protected void |
runPolling()
Mirrors GraphUpdater.run method.
|
void |
setGraphUpdaterManager(GraphUpdaterManager updaterManager)
Graph updaters must be aware of their manager to be able to execute GraphWriterRunnables.
|
void |
setup()
Here the updater can be initialized.
|
void |
teardown()
Here the updater can cleanup after itself.
|
configure, run
public void setGraphUpdaterManager(GraphUpdaterManager updaterManager)
GraphUpdater
updaterManager
- is the parent updater managerGraphWriterRunnable
,
GraphUpdaterManager.execute
protected void configurePolling(Graph graph, com.fasterxml.jackson.databind.JsonNode config) throws Exception
PollingGraphUpdater
configurePolling
in class PollingGraphUpdater
Exception
public void setup() throws InterruptedException, ExecutionException
GraphUpdater
protected void runPolling() throws Exception
PollingGraphUpdater
runPolling
in class PollingGraphUpdater
Exception
public void teardown()
GraphUpdater
Copyright © 2016. All rights reserved.