Class LogBlobInfoWriter
- java.lang.Object
-
- org.nuxeo.importer.stream.consumer.LogBlobInfoWriter
-
- All Implemented Interfaces:
AutoCloseable
,BlobInfoWriter
public class LogBlobInfoWriter extends Object implements BlobInfoWriter
Write blob information to a Log, use only one partition.- Since:
- 9.3
-
-
Field Summary
Fields Modifier and Type Field Description protected LogAppender<BlobInfoMessage>
appender
-
Constructor Summary
Constructors Constructor Description LogBlobInfoWriter(LogAppender<BlobInfoMessage> blobInfoAppender)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
save(DocumentMessage.Builder builder, BlobInfo info)
-
-
-
Field Detail
-
appender
protected final LogAppender<BlobInfoMessage> appender
-
-
Constructor Detail
-
LogBlobInfoWriter
public LogBlobInfoWriter(LogAppender<BlobInfoMessage> blobInfoAppender)
-
-
Method Detail
-
save
public void save(DocumentMessage.Builder builder, BlobInfo info)
- Specified by:
save
in interfaceBlobInfoWriter
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceBlobInfoWriter
-
-