Package org.nuxeo.ecm.core.action
Class GarbageCollectOrphanBlobsAction.GarbageCollectOrphanBlobsComputation
java.lang.Object
org.nuxeo.lib.stream.computation.AbstractComputation
org.nuxeo.ecm.core.bulk.action.computation.AbstractBulkComputation
org.nuxeo.ecm.core.action.GarbageCollectOrphanBlobsAction.GarbageCollectOrphanBlobsComputation
- All Implemented Interfaces:
Computation
- Enclosing class:
GarbageCollectOrphanBlobsAction
public static class GarbageCollectOrphanBlobsAction.GarbageCollectOrphanBlobsComputation
extends AbstractBulkComputation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanstatic final Stringprotected longprotected longFields inherited from class org.nuxeo.ecm.core.bulk.action.computation.AbstractBulkComputation
command, commands, delta, SELECT_DOCUMENTS_INFields inherited from class org.nuxeo.lib.stream.computation.AbstractComputation
INPUT_1, INPUT_2, INPUT_3, INPUT_NULL, metadata, OUTPUT_1, OUTPUT_2, OUTPUT_3, OUTPUT_4 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcompute(CoreSession session, List<String> blobKeys, Map<String, Serializable> properties) voidstartBucket(String bucketKey) Can be overridden to init stuff before processing the bucketMethods inherited from class org.nuxeo.ecm.core.bulk.action.computation.AbstractBulkComputation
endBucket, getBatchTransactionTimeout, getCommand, getCurrentCommand, isAbortedCommand, loadDocuments, loadDocumentsOneByOne, loginSystemOrUser, processBatchOfDocuments, processFailure, processRecord, updateStatusMethods inherited from class org.nuxeo.lib.stream.computation.AbstractComputation
init, metadata, processRetry, processTimerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.lib.stream.computation.Computation
destroy, signalStop
-
Field Details
-
SAMPLE_MODULO_PROPERTY
- Since:
- 2023.8
- See Also:
-
dryRun
protected boolean dryRun -
sampleCounter
protected long sampleCounter -
sampleModulo
protected long sampleModulo
-
-
Constructor Details
-
GarbageCollectOrphanBlobsComputation
public GarbageCollectOrphanBlobsComputation()
-
-
Method Details
-
startBucket
Description copied from class:AbstractBulkComputationCan be overridden to init stuff before processing the bucket- Overrides:
startBucketin classAbstractBulkComputation
-
compute
protected void compute(CoreSession session, List<String> blobKeys, Map<String, Serializable> properties) - Specified by:
computein classAbstractBulkComputation
-