Class FileStatusManager
java.lang.Object
org.apache.nifi.processors.hadoop.util.FileStatusManager
Keeps a list of the latest modified file paths and the latest modified timestamp of the current run.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate long -
Constructor Summary
ConstructorsConstructorDescriptionFileStatusManager(long initialLatestTimestamp, List<String> initialLatestFiles) -
Method Summary
-
Field Details
-
currentLatestFiles
-
currentLatestTimestamp
private long currentLatestTimestamp
-
-
Constructor Details
-
FileStatusManager
-
-
Method Details
-
update
public void update(org.apache.hadoop.fs.FileStatus status) -
getCurrentLatestFiles
-
getCurrentLatestTimestamp
public long getCurrentLatestTimestamp()
-