Class AbstractPersistentAcceptOnceFileListFilter<F>

Type Parameters:
F - the file type.
All Implemented Interfaces:
Closeable, AutoCloseable, FileListFilter<F>, ResettableFileListFilter<F>, ReversibleFileListFilter<F>
Direct Known Subclasses:
FileSystemPersistentAcceptOnceFileListFilter, FtpPersistentAcceptOnceFileListFilter, SftpPersistentAcceptOnceFileListFilter

public abstract class AbstractPersistentAcceptOnceFileListFilter<F>
extends AbstractDirectoryAwareFileListFilter<F>
implements ReversibleFileListFilter<F>, ResettableFileListFilter<F>, Closeable
Stores "seen" files in a MetadataStore to survive application restarts. The default key is 'prefix' plus the absolute file name; value is the timestamp of the file. Files are deemed as already 'seen' if they exist in the store and have the same modified time as the current file.
Since:
3.0
Author:
Gary Russell, Artem Bilan