Package org.nuxeo.ecm.core.model.stream
Class StreamDocumentGC.DocumentGCComputation
- java.lang.Object
-
- org.nuxeo.lib.stream.computation.AbstractComputation
-
- org.nuxeo.ecm.core.model.stream.StreamDocumentGC.DocumentGCComputation
-
- All Implemented Interfaces:
Computation
- Enclosing class:
- StreamDocumentGC
public static class StreamDocumentGC.DocumentGCComputation extends AbstractComputation
-
-
Field Summary
Fields Modifier and Type Field Description protected Codec<DocumentDomainEvent>
codec
protected boolean
disabled
-
Fields 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 Constructor Description DocumentGCComputation(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
documentGC(DocumentDomainEvent dde)
void
processRecord(ComputationContext context, String inputStreamName, Record record)
Process an incoming record on one of the computation's input streams.-
Methods inherited from class org.nuxeo.lib.stream.computation.AbstractComputation
init, metadata, processFailure, processRetry, processTimer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.lib.stream.computation.Computation
destroy, signalStop
-
-
-
-
Field Detail
-
codec
protected final Codec<DocumentDomainEvent> codec
-
disabled
protected boolean disabled
-
-
Constructor Detail
-
DocumentGCComputation
public DocumentGCComputation(String name)
-
-
Method Detail
-
processRecord
public void processRecord(ComputationContext context, String inputStreamName, Record record)
Description copied from interface:Computation
Process an incoming record on one of the computation's input streams.- Parameters:
context
- The computation context object provided by the system.inputStreamName
- Name of the input stream that provides the record.record
- The record.
-
documentGC
protected void documentGC(DocumentDomainEvent dde)
-
-