public class BikeRentalUpdater extends PollingGraphUpdater
pollingPeriodSeconds| Constructor and Description |
|---|
BikeRentalUpdater() |
| 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(Graph graph)
Here the updater can be initialized.
|
void |
teardown()
Here the updater can clean up after itself.
|
configure, runpublic void setGraphUpdaterManager(GraphUpdaterManager updaterManager)
GraphUpdaterprotected void configurePolling(Graph graph, com.fasterxml.jackson.databind.JsonNode config) throws Exception
PollingGraphUpdaterconfigurePolling in class PollingGraphUpdaterExceptionpublic void setup(Graph graph) throws InterruptedException, ExecutionException
GraphUpdaterprotected void runPolling()
throws Exception
PollingGraphUpdaterrunPolling in class PollingGraphUpdaterExceptionpublic void teardown()
GraphUpdaterCopyright © 2018. All rights reserved.