protected static class FileSystemTransporter.DirectoryHandler
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
debug |
protected java.io.File |
directory |
protected long |
fileTimeout |
protected long |
lastChecked |
protected long |
lastModified |
protected java.util.LinkedHashMap<java.lang.String,java.lang.Long> |
loadedFiles |
protected org.slf4j.Logger |
logger |
protected boolean |
polled |
protected java.util.HashSet<FileSystemTransporter.RemovableFile> |
removableFiles |
protected boolean |
shared |
| Modifier | Constructor and Description |
|---|---|
protected |
DirectoryHandler(java.io.File directory,
long fileTimeout,
boolean shared,
boolean polled,
boolean debug,
int storedFileNames) |
| Modifier and Type | Method and Description |
|---|---|
protected java.io.File[] |
listFiles(long now) |
protected java.util.LinkedList<byte[]> |
readAndRemoveNextFiles() |
protected void |
removeAllFiles() |
protected void |
removeAllSavedFiles() |
protected void |
removeTimeoutedFiles() |
protected void |
saveTempFile(byte[] bytes) |
protected final org.slf4j.Logger logger
protected final java.io.File directory
protected final long fileTimeout
protected final boolean shared
protected final boolean polled
protected final boolean debug
protected final java.util.HashSet<FileSystemTransporter.RemovableFile> removableFiles
protected java.util.LinkedHashMap<java.lang.String,java.lang.Long> loadedFiles
protected volatile long lastChecked
protected volatile long lastModified
protected DirectoryHandler(java.io.File directory,
long fileTimeout,
boolean shared,
boolean polled,
boolean debug,
int storedFileNames)
protected java.util.LinkedList<byte[]> readAndRemoveNextFiles()
protected java.io.File[] listFiles(long now)
protected void saveTempFile(byte[] bytes)
protected void removeTimeoutedFiles()
protected void removeAllFiles()
protected void removeAllSavedFiles()