Interface BatchDeleteQuery<Q extends BatchDeleteQuery<Q>>
- All Known Subinterfaces:
HistoricCaseInstanceQuery
,HistoricProcessInstanceQuery
- All Known Implementing Classes:
HistoricCaseInstanceQueryImpl
,HistoricProcessInstanceQueryImpl
public interface BatchDeleteQuery<Q extends BatchDeleteQuery<Q>>
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescriptiondeleteInParallelUsingBatch
(int batchSize, String batchName) Perform the deletion in parallel using the given batch size.deleteSequentiallyUsingBatch
(int batchSize, String batchName) Perform the deletion sequentially using the given batch size.
-
Method Details
-
deleteInParallelUsingBatch
Perform the deletion in parallel using the given batch size. Doing the deletion in parallel means that multiple batches can be deleted in the same time- Parameters:
batchSize
- the size of each batch deletionbatchName
- the name of the batch- Returns:
- the id the batch that is doing the deletion
-
deleteSequentiallyUsingBatch
Perform the deletion sequentially using the given batch size. Doing the deletion sequentially means that the deletion will be done one batch at a time.- Parameters:
batchSize
- the size of each batch deletionbatchName
- the name of the batch- Returns:
- the id the batch that is doing the deletion
-