Uses of Interface
org.nuxeo.lib.stream.computation.ComputationContext
-
-
Uses of ComputationContext in org.nuxeo.audit.storage.stream
Methods in org.nuxeo.audit.storage.stream with parameters of type ComputationContext Modifier and Type Method Description voidStreamAuditStorageWriter.AuditStorageLogWriterComputation. init(ComputationContext context)voidStreamAuditStorageWriter.AuditStorageLogWriterComputation. processRecord(ComputationContext context, String inputStreamName, Record record)voidStreamAuditStorageWriter.AuditStorageLogWriterComputation. processTimer(ComputationContext context, String key, long timestamp)protected voidStreamAuditStorageWriter.AuditStorageLogWriterComputation. writeJsonEntriesToAudit(ComputationContext context)Store JSON entries in the Directory Audit Storage -
Uses of ComputationContext in org.nuxeo.ecm.automation.core.operations.services.workmanager
Methods in org.nuxeo.ecm.automation.core.operations.services.workmanager with parameters of type ComputationContext Modifier and Type Method Description voidWorkManagerRunWorkInFailure.WorkFailureComputation. processRecord(ComputationContext context, String inputStreamName, Record record) -
Uses of ComputationContext in org.nuxeo.ecm.core.blob.stream
Methods in org.nuxeo.ecm.core.blob.stream with parameters of type ComputationContext Modifier and Type Method Description voidStreamOrphanBlobGC.BlobGCComputation. processRecord(ComputationContext context, String inputStreamName, Record record) -
Uses of ComputationContext in org.nuxeo.ecm.core.bulk.action.computation
Methods in org.nuxeo.ecm.core.bulk.action.computation with parameters of type ComputationContext Modifier and Type Method Description voidAbstractBulkComputation. endBucket(ComputationContext context, BulkStatus delta)Can be overridden to write to downstream computation or add results to statusprotected voidMakeBlob. finishBlob(ComputationContext context, String commandId)voidAbstractTransientBlobComputation. init(ComputationContext context)voidMakeBlob. init(ComputationContext context)voidAbstractBulkComputation. processFailure(ComputationContext context, Throwable failure)voidAbstractBulkComputation. processRecord(ComputationContext context, String inputStreamName, Record record)voidExposeBlob. processRecord(ComputationContext context, String documentIdsStreamName, Record record)voidMakeBlob. processRecord(ComputationContext context, String documentIdsStreamName, Record record)voidSortBlob. processRecord(ComputationContext context, String inputStreamName, Record record)voidZipBlob. processRecord(ComputationContext context, String inputStreamName, Record record)voidMakeBlob. processTimer(ComputationContext context, String key, long timestamp)static voidAbstractBulkComputation. updateStatus(ComputationContext context, BulkStatus delta) -
Uses of ComputationContext in org.nuxeo.ecm.core.bulk.computation
Methods in org.nuxeo.ecm.core.bulk.computation with parameters of type ComputationContext Modifier and Type Method Description voidBulkScrollerComputation. processRecord(ComputationContext context, String inputStreamName, Record record)protected voidBulkScrollerComputation. processRecord(ComputationContext context, Record record)voidBulkStatusComputation. processRecord(ComputationContext context, String inputStreamName, Record record)protected voidBulkScrollerComputation. produceBucket(ComputationContext context, String commandId, int bucketSize, long bucketNumber, long documentCount)Produces a bucket as a record to appropriate bulk action stream.protected voidBulkScrollerComputation. updateStatusAfterScroll(ComputationContext context, String commandId, long documentCount, boolean limited)protected voidBulkScrollerComputation. updateStatusAfterScroll(ComputationContext context, String commandId, long documentCount, String errorMessage, Integer errorCode, boolean limited)protected voidBulkScrollerComputation. updateStatusAfterScroll(ComputationContext context, String commandId, String errorMessage, Integer errorCode)protected voidBulkScrollerComputation. updateStatusAsFlushing(ComputationContext context, String commandId)protected voidBulkScrollerComputation. updateStatusAsScrolling(ComputationContext context, String commandId) -
Uses of ComputationContext in org.nuxeo.ecm.core.bulk.introspection
Methods in org.nuxeo.ecm.core.bulk.introspection with parameters of type ComputationContext Modifier and Type Method Description voidStreamIntrospectionComputation. init(ComputationContext context)voidStreamIntrospectionComputation. processRecord(ComputationContext context, String inputStreamName, Record record)voidStreamIntrospectionComputation. processTimer(ComputationContext context, String key, long timestamp) -
Uses of ComputationContext in org.nuxeo.ecm.core.model.stream
Methods in org.nuxeo.ecm.core.model.stream with parameters of type ComputationContext Modifier and Type Method Description voidStreamDocumentGC.DocumentGCComputation. processRecord(ComputationContext context, String inputStreamName, Record record) -
Uses of ComputationContext in org.nuxeo.ecm.core.work
Methods in org.nuxeo.ecm.core.work with parameters of type ComputationContext Modifier and Type Method Description voidWorkComputation. processRecord(ComputationContext context, String inputStreamName, Record record) -
Uses of ComputationContext in org.nuxeo.ecm.platform.audit.impl
Methods in org.nuxeo.ecm.platform.audit.impl with parameters of type ComputationContext Modifier and Type Method Description voidStreamAuditWriter.AuditLogWriterComputation. batchFailure(ComputationContext context, String inputStreamName, List<Record> records)voidStreamAuditWriter.AuditLogWriterComputation. batchProcess(ComputationContext context, String inputStreamName, List<Record> records) -
Uses of ComputationContext in org.nuxeo.ecm.platform.csv.export.computation
Methods in org.nuxeo.ecm.platform.csv.export.computation with parameters of type ComputationContext Modifier and Type Method Description voidCSVProjectionComputation. endBucket(ComputationContext context, BulkStatus delta) -
Uses of ComputationContext in org.nuxeo.ecm.platform.video.computation
Methods in org.nuxeo.ecm.platform.video.computation with parameters of type ComputationContext Modifier and Type Method Description voidRecomputeVideoInfoComputation. endBucket(ComputationContext context, BulkStatus delta)voidRecomputeVideoInfoComputation. processRecord(ComputationContext context, String inputStreamName, Record record) -
Uses of ComputationContext in org.nuxeo.elasticsearch.bulk
Methods in org.nuxeo.elasticsearch.bulk with parameters of type ComputationContext Modifier and Type Method Description voidIndexRequestComputation. endBucket(ComputationContext context, BulkStatus delta)voidBulkIndexComputation. init(ComputationContext context)voidIndexCompletionComputation. init(ComputationContext context)voidBulkIndexComputation. processRecord(ComputationContext context, String inputStream, Record record)voidIndexCompletionComputation. processRecord(ComputationContext context, String inputStream, Record record)voidBulkIndexComputation. processTimer(ComputationContext context, String key, long timestamp) -
Uses of ComputationContext in org.nuxeo.lib.stream.computation
Methods in org.nuxeo.lib.stream.computation with parameters of type ComputationContext Modifier and Type Method Description abstract voidAbstractBatchComputation. batchFailure(ComputationContext context, String inputStreamName, List<Record> records)Called when the retry policy has failed.protected abstract voidAbstractBatchComputation. batchProcess(ComputationContext context, String inputStreamName, List<Record> records)Called when: the batch capacity is reached the time threshold is reached the inputStreamName has changed If this method raises an exception the retry policy is applied.protected voidAbstractBatchComputation. checkpointBatch(ComputationContext context)voidAbstractBatchComputation. init(ComputationContext context)voidAbstractComputation. init(ComputationContext context)voidComputation. init(ComputationContext context)Called when the framework has registered the computation successfully.voidAbstractBatchComputation. processFailure(ComputationContext context, Throwable failure)voidAbstractComputation. processFailure(ComputationContext context, Throwable failure)voidComputation. processFailure(ComputationContext context, Throwable failure)voidAbstractBatchComputation. processRecord(ComputationContext context, String inputStreamName, Record record)voidComputation. processRecord(ComputationContext context, String inputStreamName, Record record)Process an incoming record on one of the computation's input streams.voidAbstractBatchComputation. processRetry(ComputationContext context, Throwable failure)voidAbstractComputation. processRetry(ComputationContext context, Throwable failure)voidComputation. processRetry(ComputationContext context, Throwable failure)voidAbstractBatchComputation. processTimer(ComputationContext context, String key, long timestamp)voidAbstractComputation. processTimer(ComputationContext context, String key, long timestamp)voidComputation. processTimer(ComputationContext context, String key, long timestamp)Process a timer callback previously set viasetTimer(String, long). -
Uses of ComputationContext in org.nuxeo.lib.stream.computation.internals
Classes in org.nuxeo.lib.stream.computation.internals that implement ComputationContext Modifier and Type Class Description classComputationContextImpl -
Uses of ComputationContext in org.nuxeo.lib.stream.tools.command
Methods in org.nuxeo.lib.stream.tools.command with parameters of type ComputationContext Modifier and Type Method Description voidLatencyDatadogComputation. init(ComputationContext context)voidLatencyMonitorComputation. init(ComputationContext context)voidLatencyTrackerComputation. init(ComputationContext context)protected voidLatencyDatadogComputation. processLatencies(ComputationContext context, LogPartitionGroup logGroup, List<Latency> latencies)protected voidLatencyMonitorComputation. processLatencies(ComputationContext context, LogPartitionGroup logGroup, List<Latency> latencies)protected voidLatencyTrackerComputation. processLatencies(ComputationContext context, LogPartitionGroup logGroup, List<Latency> latencies)voidLatencyTrackerComputation. processRecord(ComputationContext context, String inputStreamName, Record record)voidLatencyTrackerComputation. processTimer(ComputationContext context, String key, long timestamp) -
Uses of ComputationContext in org.nuxeo.runtime.stream
Methods in org.nuxeo.runtime.stream with parameters of type ComputationContext Modifier and Type Method Description voidStreamMetricsComputation. init(ComputationContext context)voidStreamMetricsComputation. processRecord(ComputationContext context, String inputStreamName, Record record)voidStreamMetricsComputation. processTimer(ComputationContext context, String key, long timestamp)
-