Class BlobConsumers
- java.lang.Object
-
- org.nuxeo.importer.stream.automation.BlobConsumers
-
public class BlobConsumers extends Object
- Since:
- 9.1
-
-
Field Summary
Fields Modifier and Type Field Description protected IntegerbatchSizeprotected IntegerbatchThresholdSprotected StringblobProviderNameprotected OperationContextctxstatic StringIDprotected StringlogBlobInfoNameprotected StringlogNameprotected IntegernbThreadsprotected StringpersistBlobPathprotected IntegerretryDelaySprotected IntegerretryMaxprotected IntegerwaitMessageTimeoutSecondsprotected Stringwatermark
-
Constructor Summary
Constructors Constructor Description BlobConsumers()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BlobInfoWritergetBlobInfoWriter(LogManager managerBlobInfo)protected shortgetNbThreads()protected voidinitBlobInfoMQ(LogManager manager)voidrun()
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
ctx
protected OperationContext ctx
-
nbThreads
protected Integer nbThreads
-
blobProviderName
protected String blobProviderName
-
batchSize
protected Integer batchSize
-
batchThresholdS
protected Integer batchThresholdS
-
retryMax
protected Integer retryMax
-
retryDelayS
protected Integer retryDelayS
-
logName
protected String logName
-
logBlobInfoName
protected String logBlobInfoName
-
waitMessageTimeoutSeconds
protected Integer waitMessageTimeoutSeconds
-
watermark
protected String watermark
-
persistBlobPath
protected String persistBlobPath
-
-
Method Detail
-
run
public void run() throws OperationException- Throws:
OperationException
-
getBlobInfoWriter
protected BlobInfoWriter getBlobInfoWriter(LogManager managerBlobInfo)
-
initBlobInfoMQ
protected void initBlobInfoMQ(LogManager manager)
-
getNbThreads
protected short getNbThreads()
-
-