Package com.logicaldoc.impex
Class ArchiveCache
- All Implemented Interfaces:
- Serializable,- Cloneable,- Map<String,- String> 
Implements a cache of imported documents, basically an archive cache is a Map
 (index_document_id - document_id).
- Since:
- 4.5
- Author:
- Matteo Caruso - LogicalDOC
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class java.util.AbstractMapAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> 
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.util.HashMapclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMaptoString
- 
Constructor Details- 
ArchiveCache- Throws:
- IOException
 
 
- 
- 
Method Details- 
getFile
- 
readReads all data from file- Throws:
- IOException- cannot read the cache file
 
- 
writeWrites all entries into the file- Throws:
- IOException- cannot write the cache file
 
- 
appendAppends the last entry to the file- Throws:
- IOException- cannot write the cache file
 
- 
put
- 
equals
- 
hashCodepublic int hashCode()
 
-