public class VersionCheckThread extends Periodical
| Constructor and Description |
|---|
VersionCheckThread(NotificationService notificationService,
ServerStatus serverStatus,
VersionCheckConfiguration config,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
com.squareup.okhttp.OkHttpClient httpClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
doRun() |
int |
getInitialDelaySeconds() |
protected org.slf4j.Logger |
getLogger() |
int |
getPeriodSeconds() |
boolean |
isDaemon() |
boolean |
masterOnly() |
boolean |
runsForever() |
boolean |
startOnThisNode() |
boolean |
stopOnGracefulShutdown() |
getParallelism, initialize, run@Inject public VersionCheckThread(NotificationService notificationService, ServerStatus serverStatus, VersionCheckConfiguration config, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.squareup.okhttp.OkHttpClient httpClient) throws URISyntaxException
URISyntaxExceptionpublic void doRun()
doRun in class Periodicalprotected org.slf4j.Logger getLogger()
getLogger in class Periodicalpublic boolean runsForever()
runsForever in class Periodicalpublic boolean stopOnGracefulShutdown()
stopOnGracefulShutdown in class Periodicalpublic boolean masterOnly()
masterOnly in class Periodicalpublic boolean startOnThisNode()
startOnThisNode in class Periodicalpublic boolean isDaemon()
isDaemon in class Periodicalpublic int getInitialDelaySeconds()
getInitialDelaySeconds in class Periodicalpublic int getPeriodSeconds()
getPeriodSeconds in class PeriodicalCopyright © 2012-2015 Graylog, Inc.. All Rights Reserved.