public class FileSystemPersistentAcceptOnceFileListFilter extends AbstractPersistentAcceptOnceFileListFilter<java.io.File>
flushableStore, flushOnUpdate, prefix, store| Constructor and Description |
|---|
FileSystemPersistentAcceptOnceFileListFilter(org.springframework.integration.metadata.ConcurrentMetadataStore store,
java.lang.String prefix) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
fileName(java.io.File file) |
protected boolean |
fileStillExists(java.io.File file)
Check that the file still exists, to avoid a race condition when multi-threaded and
another thread removed the file while we were waiting for the lock.
|
protected long |
modified(java.io.File file) |
accept, buildKey, close, flushIfNeeded, isEqual, remove, rollback, setFlushOnUpdatefilterFiles, supportsSingleFileFilteringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfilterFiles, supportsSingleFileFilteringpublic FileSystemPersistentAcceptOnceFileListFilter(org.springframework.integration.metadata.ConcurrentMetadataStore store,
java.lang.String prefix)
protected long modified(java.io.File file)
modified in class AbstractPersistentAcceptOnceFileListFilter<java.io.File>protected java.lang.String fileName(java.io.File file)
fileName in class AbstractPersistentAcceptOnceFileListFilter<java.io.File>protected boolean fileStillExists(java.io.File file)
fileStillExists in class AbstractPersistentAcceptOnceFileListFilter<java.io.File>file - the file.