Class AbstractTransientBlobComputation
- java.lang.Object
-
- org.nuxeo.lib.stream.computation.AbstractComputation
-
- org.nuxeo.ecm.core.bulk.action.computation.AbstractTransientBlobComputation
-
- All Implemented Interfaces:
Computation
- Direct Known Subclasses:
ExposeBlob
,MakeBlob
,SortBlob
,ZipBlob
public abstract class AbstractTransientBlobComputation extends AbstractComputation
- Since:
- 10.3
-
-
Constructor Summary
Constructors Constructor Description AbstractTransientBlobComputation(String name)
AbstractTransientBlobComputation(String name, int nbOutputStreams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Path
createTemp(String commandId)
Blob
getBlob(String key, String storeName)
protected String
getTransientStoreKey(String commandId)
void
init(ComputationContext context)
Called when the framework has registered the computation successfully.protected void
storeBlob(Blob blob, String commandId, String storeName)
-
Methods inherited from class org.nuxeo.lib.stream.computation.AbstractComputation
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, processRecord, signalStop
-
-
-
-
Method Detail
-
init
public void init(ComputationContext context)
Description copied from interface:Computation
Called when the framework has registered the computation successfully. Gives users a first opportunity to schedule timer callbacks and produce records. This method can be called multiple times.- Specified by:
init
in interfaceComputation
- Overrides:
init
in classAbstractComputation
- Parameters:
context
- The computation context object provided by the system.
-
-