public class MappedMemoryTransferCache extends CachedFileIndexInterface.Adapter
CachedFileIndexInterface.Adapter, CachedFileIndexInterface.CacheKeyCredentials, CachedFileIndexInterface.NullCachedFileIndexhasher| Constructor and Description |
|---|
MappedMemoryTransferCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFile(FileListDataItem item) |
void |
addFile(java.nio.file.Path file,
long timestamp,
long size) |
IndexedFile |
getIndexedFile(FileListDataItem item) |
IndexedFile |
getIndexedFile(java.nio.file.Path file) |
boolean |
isIndexed(FileListDataItem item) |
boolean |
isIndexed(java.nio.file.Path file) |
void |
removeFile(FileListDataItem item) |
void |
removeFile(java.nio.file.Path file) |
addDirectAndMerge, addFile, clearIndex, deleteIndex, getCacheDirName, getCacheDirName, getClientDirectory, getClientID, getIndexedPath, getIndexedPath, getLogs, getSiteID, getTaskID, hasMatchBatchFLDI, hasMatchBatchPath, isUpload, preCacheEntries, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddDirect, addFile, buildCachedFileToDB, buildFromDBResult, buildTaskKey, buildTaskKey, filteredShouldTransfer, getHashCode, getLegacyFromThis, getMD5, getMD5, getMD5, getMD5Str, hasMatch, hasMatch, hasMatch, hasMatchBatchIDX, isMigrated, mapFLDIToDB, mapIDXToDB, mapPathToDB, shouldTransfer, shouldTransfer, shouldTransfer, shouldTransferFLDI, shouldTransferGeneric, shouldTransferPathpublic boolean isIndexed(java.nio.file.Path file)
isIndexed in interface CachedFileIndexInterfaceisIndexed in class CachedFileIndexInterface.Adapterpublic IndexedFile getIndexedFile(java.nio.file.Path file)
getIndexedFile in interface CachedFileIndexInterfacegetIndexedFile in class CachedFileIndexInterface.Adapterpublic IndexedFile getIndexedFile(FileListDataItem item)
getIndexedFile in interface CachedFileIndexInterfacegetIndexedFile in class CachedFileIndexInterface.Adapterpublic void addFile(java.nio.file.Path file,
long timestamp,
long size)
public void addFile(FileListDataItem item)
public void removeFile(java.nio.file.Path file)
removeFile in interface CachedFileIndexInterfaceremoveFile in class CachedFileIndexInterface.Adapterpublic void removeFile(FileListDataItem item)
removeFile in interface CachedFileIndexInterfaceremoveFile in class CachedFileIndexInterface.Adapterpublic boolean isIndexed(FileListDataItem item)
isIndexed in interface CachedFileIndexInterfaceisIndexed in class CachedFileIndexInterface.Adapter