private class LRUFilesCache.MyLRUMap extends org.apache.commons.collections4.map.LRUMap<FileName,FileObject>
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>
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>
Modifier and Type | Field and Description |
---|---|
private FileSystem |
filesystem
The FileSystem
|
private static long |
serialVersionUID
serialVersionUID format is YYYYMMDD for the date of the last binary change.
|
Constructor and Description |
---|
MyLRUMap(FileSystem filesystem,
int size) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
removeLRU(org.apache.commons.collections4.map.AbstractLinkedMap.LinkEntry<FileName,FileObject> linkEntry) |
addMapping, clone, doReadObject, doWriteObject, get, isFull, isScanUntilRemovable, maxSize, moveToMRU, reuseMapping, updateEntry
addEntry, clear, containsValue, createEntry, createEntrySetIterator, createKeySetIterator, createValuesIterator, entryAfter, entryBefore, firstKey, getEntry, getEntry, init, lastKey, mapIterator, nextKey, previousKey, removeEntry
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, values
finalize, getClass, notify, notifyAll, wait, wait, wait
private static final long serialVersionUID
private final FileSystem filesystem
public MyLRUMap(FileSystem filesystem, int size)
protected boolean removeLRU(org.apache.commons.collections4.map.AbstractLinkedMap.LinkEntry<FileName,FileObject> linkEntry)
removeLRU
in class org.apache.commons.collections4.map.LRUMap<FileName,FileObject>