public class CreateNewSingleIndexRangeJob extends RebuildIndexRangesJob
Modifier and Type | Class and Description |
---|---|
static interface |
CreateNewSingleIndexRangeJob.Factory |
SystemJob.Type
deflector, indexRangeService, MAX_CONCURRENCY
Constructor and Description |
---|
CreateNewSingleIndexRangeJob(Deflector deflector,
String indexName,
Searches searches,
ServerStatus serverStatus,
ActivityWriter activityWriter,
IndexRangeService indexRangeService) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
String |
getDescription() |
boolean |
isCancelable() |
int |
maxConcurrency() |
boolean |
providesProgress() |
calculateRange, getClassName, getDeflectorIndexRange, getProgress, info, requestCancel
getId, getStartedAt, markStarted, setId, toMap
public CreateNewSingleIndexRangeJob(Deflector deflector, String indexName, Searches searches, ServerStatus serverStatus, ActivityWriter activityWriter, IndexRangeService indexRangeService)
public String getDescription()
getDescription
in class RebuildIndexRangesJob
public void execute()
execute
in class RebuildIndexRangesJob
public boolean providesProgress()
providesProgress
in class RebuildIndexRangesJob
public boolean isCancelable()
isCancelable
in class RebuildIndexRangesJob
public int maxConcurrency()
maxConcurrency
in class RebuildIndexRangesJob
Copyright © 2012-2015 Graylog, Inc.. All Rights Reserved.