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,
ServerStatus serverStatus,
String index) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
String |
getClassName() |
String |
getDescription() |
int |
getProgress() |
boolean |
isCancelable() |
int |
maxConcurrency() |
boolean |
providesProgress() |
void |
requestCancel() |
getId, getStartedAt, markStarted, setId, toMap
public SetIndexReadOnlyJob(Indices indices, @Named(value="disable_index_optimization") boolean disableIndexOptimization, SystemJobManager systemJobManager, OptimizeIndexJob.Factory optimizeIndexJobFactory, ActivityWriter activityWriter, ServerStatus serverStatus, String index)
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-2015 Graylog, Inc.. All Rights Reserved.