Package org.graylog2.indexer
Class SetIndexReadOnlyJob
java.lang.Object
org.graylog2.system.jobs.SystemJob
org.graylog2.indexer.SetIndexReadOnlyJob
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.graylog2.system.jobs.SystemJob
SystemJob.Type -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSetIndexReadOnlyJob(Indices indices, IndexSetRegistry indexSetRegistry, SystemJobManager systemJobManager, OptimizeIndexJob.Factory optimizeIndexJobFactory, ActivityWriter activityWriter, String index) -
Method Summary
Methods inherited from class org.graylog2.system.jobs.SystemJob
getId, getStartedAt, markStarted, setId
-
Constructor Details
-
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
-
getInfo
-