Class IndexSetCleanupJob
java.lang.Object
org.graylog2.system.jobs.SystemJob
org.graylog2.indexer.indices.jobs.IndexSetCleanupJob
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.graylog2.system.jobs.SystemJob
SystemJob.Type -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionIndexSetCleanupJob(Indices indices, MongoIndexRangeService indexRangeService, IndexSet indexSet) -
Method Summary
Methods inherited from class org.graylog2.system.jobs.SystemJob
getId, getInfo, getStartedAt, markStarted, setId
-
Constructor Details
-
IndexSetCleanupJob
@Inject public IndexSetCleanupJob(Indices indices, MongoIndexRangeService indexRangeService, IndexSet indexSet)
-
-
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
-