Class SetIndexReadOnlyAndCalculateRangeJob
java.lang.Object
org.graylog2.system.jobs.SystemJob
org.graylog2.indexer.indices.jobs.SetIndexReadOnlyAndCalculateRangeJob
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.graylog2.system.jobs.SystemJob
SystemJob.Type -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSetIndexReadOnlyAndCalculateRangeJob(SetIndexReadOnlyJob.Factory setIndexReadOnlyJobFactory, CreateNewSingleIndexRangeJob.Factory createNewSingleIndexRangeJobFactory, IndexSetRegistry indexSetRegistry, Indices indices, IndexFieldTypesService indexFieldTypesService, IndexFieldTypePoller indexFieldTypePoller, String indexName) -
Method Summary
Methods inherited from class org.graylog2.system.jobs.SystemJob
getId, getInfo, getStartedAt, markStarted, setId
-
Constructor Details
-
SetIndexReadOnlyAndCalculateRangeJob
@Inject public SetIndexReadOnlyAndCalculateRangeJob(SetIndexReadOnlyJob.Factory setIndexReadOnlyJobFactory, CreateNewSingleIndexRangeJob.Factory createNewSingleIndexRangeJobFactory, IndexSetRegistry indexSetRegistry, Indices indices, IndexFieldTypesService indexFieldTypesService, IndexFieldTypePoller indexFieldTypePoller, String indexName)
-
-
Method Details
-
execute
public void execute() -
requestCancel
public void requestCancel()- Specified by:
requestCancelin classSystemJob
-
getProgress
public int getProgress()- Specified by:
getProgressin classSystemJob
-
maxConcurrency
public int maxConcurrency()- Specified by:
maxConcurrencyin classSystemJob
-
providesProgress
public boolean providesProgress()- Specified by:
providesProgressin classSystemJob
-
isCancelable
public boolean isCancelable()- Specified by:
isCancelablein classSystemJob
-
getDescription
- Specified by:
getDescriptionin classSystemJob
-
getClassName
- Specified by:
getClassNamein classSystemJob
-