public class OptimizeIndexJob extends SystemJob
| Modifier and Type | Class and Description |
|---|---|
static interface |
OptimizeIndexJob.Factory |
SystemJob.Type| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_CONCURRENCY |
| Constructor and Description |
|---|
OptimizeIndexJob(ServerStatus serverStatus,
Indices indices,
ActivityWriter activityWriter,
java.lang.String index) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
java.lang.String |
getClassName() |
java.lang.String |
getDescription() |
int |
getProgress() |
boolean |
isCancelable() |
int |
maxConcurrency() |
boolean |
providesProgress() |
void |
requestCancel() |
getId, getStartedAt, markStarted, setId, toMappublic static final int MAX_CONCURRENCY
public OptimizeIndexJob(ServerStatus serverStatus, Indices indices, ActivityWriter activityWriter, java.lang.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 java.lang.String getDescription()
getDescription in class SystemJobpublic java.lang.String getClassName()
getClassName in class SystemJobCopyright © 2012-2014 TORCH GmbH. All Rights Reserved.