Class AbstractPersistentAcceptOnceFileListFilter<F>

java.lang.Object
org.springframework.integration.file.filters.AbstractFileListFilter<F>
org.springframework.integration.file.filters.AbstractPersistentAcceptOnceFileListFilter<F>
All Implemented Interfaces:
Closeable, AutoCloseable, FileListFilter<F>, ResettableFileListFilter<F>, ReversibleFileListFilter<F>
Direct Known Subclasses:
FileSystemPersistentAcceptOnceFileListFilter, FtpPersistentAcceptOnceFileListFilter, SftpPersistentAcceptOnceFileListFilter

public abstract class AbstractPersistentAcceptOnceFileListFilter<F>
extends AbstractFileListFilter<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