public class SetIndexReadOnlyAndCalculateRangeJob extends SystemJob
Modifier and Type | Class and Description |
---|---|
static interface |
SetIndexReadOnlyAndCalculateRangeJob.Factory |
SystemJob.Type
Constructor and Description |
---|
SetIndexReadOnlyAndCalculateRangeJob(SetIndexReadOnlyJob.Factory setIndexReadOnlyJobFactory,
CreateNewSingleIndexRangeJob.Factory createNewSingleIndexRangeJobFactory,
IndexSetRegistry indexSetRegistry,
Indices indices,
String indexName) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
String |
getClassName() |
String |
getDescription() |
int |
getProgress() |
boolean |
isCancelable() |
int |
maxConcurrency() |
boolean |
providesProgress() |
void |
requestCancel() |
getId, getInfo, getStartedAt, markStarted, setId
@Inject public SetIndexReadOnlyAndCalculateRangeJob(SetIndexReadOnlyJob.Factory setIndexReadOnlyJobFactory, CreateNewSingleIndexRangeJob.Factory createNewSingleIndexRangeJobFactory, IndexSetRegistry indexSetRegistry, Indices indices, String indexName)
public void requestCancel()
requestCancel
in class SystemJob
public int getProgress()
getProgress
in class SystemJob
public int maxConcurrency()
maxConcurrency
in class SystemJob
public boolean providesProgress()
providesProgress
in class SystemJob
public boolean isCancelable()
isCancelable
in class SystemJob
public String getDescription()
getDescription
in class SystemJob
public String getClassName()
getClassName
in class SystemJob
Copyright © 2012–2018 Graylog, Inc.. All rights reserved.