Package org.apache.commons.vfs2.cache
Class LRUFilesCache.MyLRUMap
java.lang.Object
java.util.AbstractMap<FileName,FileObject>
org.apache.commons.collections4.map.AbstractHashedMap<FileName,FileObject>
org.apache.commons.collections4.map.AbstractLinkedMap<FileName,FileObject>
org.apache.commons.collections4.map.LRUMap<FileName,FileObject>
org.apache.commons.vfs2.cache.LRUFilesCache.MyLRUMap
- All Implemented Interfaces:
Serializable,Cloneable,Map<FileName,,FileObject> org.apache.commons.collections4.BoundedMap<FileName,,FileObject> org.apache.commons.collections4.Get<FileName,,FileObject> org.apache.commons.collections4.IterableGet<FileName,,FileObject> org.apache.commons.collections4.IterableMap<FileName,,FileObject> org.apache.commons.collections4.OrderedMap<FileName,,FileObject> org.apache.commons.collections4.Put<FileName,FileObject>
- Enclosing class:
LRUFilesCache
private class LRUFilesCache.MyLRUMap
extends org.apache.commons.collections4.map.LRUMap<FileName,FileObject>
The file cache
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.commons.collections4.map.AbstractLinkedMap
org.apache.commons.collections4.map.AbstractLinkedMap.EntrySetIterator<K,V>, org.apache.commons.collections4.map.AbstractLinkedMap.KeySetIterator<K>, org.apache.commons.collections4.map.AbstractLinkedMap.LinkEntry<K, V>, org.apache.commons.collections4.map.AbstractLinkedMap.LinkIterator<K, V>, org.apache.commons.collections4.map.AbstractLinkedMap.LinkMapIterator<K, V>, org.apache.commons.collections4.map.AbstractLinkedMap.ValuesIterator<V> Nested classes/interfaces inherited from class org.apache.commons.collections4.map.AbstractHashedMap
org.apache.commons.collections4.map.AbstractHashedMap.EntrySet<K,V>, org.apache.commons.collections4.map.AbstractHashedMap.HashEntry<K, V>, org.apache.commons.collections4.map.AbstractHashedMap.HashIterator<K, V>, org.apache.commons.collections4.map.AbstractHashedMap.HashMapIterator<K, V>, org.apache.commons.collections4.map.AbstractHashedMap.KeySet<K>, org.apache.commons.collections4.map.AbstractHashedMap.Values<V> Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FileSystemThe FileSystemprivate static final longserialVersionUID format is YYYYMMDD for the date of the last binary change.Fields inherited from class org.apache.commons.collections4.map.LRUMap
DEFAULT_MAX_SIZEFields inherited from class org.apache.commons.collections4.map.AbstractHashedMap
DEFAULT_CAPACITY, DEFAULT_LOAD_FACTOR, DEFAULT_THRESHOLD, GETKEY_INVALID, GETVALUE_INVALID, MAXIMUM_CAPACITY, NO_NEXT_ENTRY, NO_PREVIOUS_ENTRY, NULL, REMOVE_INVALID, SETVALUE_INVALID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanremoveLRU(org.apache.commons.collections4.map.AbstractLinkedMap.LinkEntry<FileName, FileObject> linkEntry) Methods inherited from class org.apache.commons.collections4.map.LRUMap
addMapping, clone, doReadObject, doWriteObject, get, get, isFull, isScanUntilRemovable, maxSize, moveToMRU, reuseMapping, updateEntryMethods inherited from class org.apache.commons.collections4.map.AbstractLinkedMap
addEntry, clear, containsValue, createEntry, createEntrySetIterator, createKeySetIterator, createValuesIterator, entryAfter, entryBefore, firstKey, getEntry, getEntry, init, lastKey, mapIterator, nextKey, previousKey, removeEntryMethods inherited from class org.apache.commons.collections4.map.AbstractHashedMap
calculateNewCapacity, calculateThreshold, checkCapacity, containsKey, convertKey, destroyEntry, ensureCapacity, entryHashCode, entryKey, entryNext, entrySet, entryValue, equals, hash, hashCode, hashIndex, isEmpty, isEqualKey, isEqualValue, keySet, put, putAll, remove, removeMapping, reuseEntry, size, toString, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.commons.collections4.Get
containsKey, containsValue, entrySet, isEmpty, keySet, remove, size, valuesMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from interface org.apache.commons.collections4.Put
clear, put, putAll
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDserialVersionUID format is YYYYMMDD for the date of the last binary change.- See Also:
-
filesystem
The FileSystem
-
-
Constructor Details
-
MyLRUMap
-
-
Method Details
-
removeLRU
protected boolean removeLRU(org.apache.commons.collections4.map.AbstractLinkedMap.LinkEntry<FileName, FileObject> linkEntry) - Overrides:
removeLRUin classorg.apache.commons.collections4.map.LRUMap<FileName,FileObject>
-