public class RebuildIndexRangesJob extends SystemJob
| Modifier and Type | Class and Description |
|---|---|
static interface |
RebuildIndexRangesJob.Factory |
SystemJob.Type| Modifier and Type | Field and Description |
|---|---|
protected Deflector |
deflector |
protected IndexRangeService |
indexRangeService |
| Constructor and Description |
|---|
RebuildIndexRangesJob(Deflector deflector,
ActivityWriter activityWriter,
IndexRangeService indexRangeService) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
String |
getClassName() |
String |
getDescription() |
int |
getProgress() |
protected void |
info(String what) |
boolean |
isCancelable() |
int |
maxConcurrency() |
boolean |
providesProgress() |
void |
requestCancel() |
getId, getInfo, getStartedAt, markStarted, setIdprotected final Deflector deflector
protected final IndexRangeService indexRangeService
public RebuildIndexRangesJob(Deflector deflector, ActivityWriter activityWriter, IndexRangeService indexRangeService)
public void requestCancel()
requestCancel in class SystemJobpublic int getProgress()
getProgress in class SystemJobpublic String getDescription()
getDescription in class SystemJobprotected void info(String what)
public boolean providesProgress()
providesProgress in class SystemJobpublic boolean isCancelable()
isCancelable in class SystemJobpublic int maxConcurrency()
maxConcurrency in class SystemJobpublic String getClassName()
getClassName in class SystemJobCopyright © 2012-2016 Graylog, Inc.. All Rights Reserved.