public class SetIndexReadOnlyJob extends SystemJob
| Modifier and Type | Class and Description |
|---|---|
static interface |
SetIndexReadOnlyJob.Factory |
SystemJob.Type| Constructor and Description |
|---|
SetIndexReadOnlyJob(Indices indices,
boolean disableIndexOptimization,
SystemJobManager systemJobManager,
OptimizeIndexJob.Factory optimizeIndexJobFactory,
ActivityWriter activityWriter,
String index) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
String |
getClassName() |
String |
getDescription() |
String |
getInfo() |
int |
getProgress() |
boolean |
isCancelable() |
int |
maxConcurrency() |
boolean |
providesProgress() |
void |
requestCancel() |
getId, getStartedAt, markStarted, setIdpublic SetIndexReadOnlyJob(Indices indices, @Named(value="disable_index_optimization") boolean disableIndexOptimization, SystemJobManager systemJobManager, OptimizeIndexJob.Factory optimizeIndexJobFactory, ActivityWriter activityWriter, String index)
public void requestCancel()
requestCancel in class SystemJobpublic int getProgress()
getProgress in class SystemJobpublic int maxConcurrency()
maxConcurrency in class SystemJobpublic boolean providesProgress()
providesProgress in class SystemJobpublic boolean isCancelable()
isCancelable in class SystemJobpublic String getDescription()
getDescription in class SystemJobpublic String getClassName()
getClassName in class SystemJobCopyright © 2012-2016 Graylog, Inc.. All Rights Reserved.