Class RandomLogBlobInfoFetcher
java.lang.Object
org.nuxeo.importer.stream.producer.RandomLogBlobInfoFetcher
- All Implemented Interfaces:
AutoCloseable,BlobInfoFetcher
Returns blob information from a Log, loop on the log.
- Since:
- 9.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected static final Durationprotected static final Durationprotected final LogTailer<BlobInfoMessage> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()get(DocumentMessage.Builder builder) protected Duration
-
Field Details
-
READ_DELAY
-
FIRST_READ_DELAY
-
tailer
-
first
protected boolean first
-
-
Constructor Details
-
RandomLogBlobInfoFetcher
-
-
Method Details
-
get
- Specified by:
getin interfaceBlobInfoFetcher
-
getDuration
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-