public class IndexRangesMigrationPeriodical extends Periodical
Periodical to check if index ranges need to be recalculated and notify the administrators about it.| Constructor and Description |
|---|
IndexRangesMigrationPeriodical(Cluster cluster,
Deflector deflector,
IndexRangeService indexRangeService,
NotificationService notificationService,
MongoIndexRangeService mongoIndexRangeService) |
| 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 IndexRangesMigrationPeriodical(Cluster cluster, Deflector deflector, IndexRangeService indexRangeService, NotificationService notificationService, MongoIndexRangeService mongoIndexRangeService)
public void doRun()
doRun 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 Periodicalprotected org.slf4j.Logger getLogger()
getLogger in class PeriodicalCopyright © 2012-2015 Graylog, Inc.. All Rights Reserved.