Klasse VerboseElementCache<K extends IJavaElement & IOpenable>
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.LRUCache<K,JavaElementInfo>
org.aspectj.org.eclipse.jdt.internal.core.OverflowingLRUCache<K,JavaElementInfo>
org.aspectj.org.eclipse.jdt.internal.core.ElementCache<K>
org.aspectj.org.eclipse.jdt.internal.core.VerboseElementCache<K>
- Alle implementierten Schnittstellen:
Cloneable
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.aspectj.org.eclipse.jdt.internal.core.util.LRUCache
LRUCache.LRUCacheEntry<K,
V>, LRUCache.Stats -
Feldübersicht
Von Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.core.OverflowingLRUCache
loadFactor, overflow, timestampsOn
Von Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.core.util.LRUCache
currentSpace, DEFAULT_SPACELIMIT, entryQueue, entryQueueTail, entryTable, spaceLimit, timestampCounter
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected boolean
makeSpace
(int space) Ensures there is the specified amount of free space in the receiver, by removing old entries if necessary.put
(K key, JavaElementInfo value) Sets the value in the cache at the given key.Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.core.ElementCache
close, ensureSpaceLimit, newInstance, resetSpaceLimit
Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.core.OverflowingLRUCache
clone, elements, fillingRatio, getEntryTable, getLoadFactor, getOverflow, printStats, privateRemoveEntry, privateRemoveEntry, remove, setLoadFactor, setSpaceLimit, shrink, toString, updateTimestamp
Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.core.util.LRUCache
flush, flush, get, getCurrentSpace, getKey, getNewestTimestampCounter, getOldestElement, getOldestTimestampCounter, getSpaceLimit, keys, keysAndValues, newInstance, peek, privateAdd, privateAddEntry, removeKey, spaceFor, toStringContents, toStringFillingRation
-
Konstruktordetails
-
VerboseElementCache
-
-
Methodendetails
-
makeSpace
protected boolean makeSpace(int space) Beschreibung aus Klasse kopiert:OverflowingLRUCache
Ensures there is the specified amount of free space in the receiver, by removing old entries if necessary. Returns true if the requested space was made available, false otherwise. May not be able to free enough space since some elements cannot be removed until they are saved.- Setzt außer Kraft:
makeSpace
in KlasseOverflowingLRUCache<K extends IJavaElement & IOpenable,
JavaElementInfo> - Parameter:
space
- Amount of space to free up
-
put
Beschreibung aus Klasse kopiert:LRUCache
Sets the value in the cache at the given key. Returns the value.- Setzt außer Kraft:
put
in KlasseOverflowingLRUCache<K extends IJavaElement & IOpenable,
JavaElementInfo> - Parameter:
key
- Key of object to add.value
- Value of object to add.- Gibt zurück:
- added value.
-