Klasse VerboseElementCache<K extends IJavaElement & IOpenable>
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.LRUCache<K,V>
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, timestampsOnVon Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.core.util.LRUCache
currentSpace, DEFAULT_SPACELIMIT, entryQueue, entryQueueTail, entryTable, spaceLimit, timestampCounter -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanmakeSpace(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, resetSpaceLimitVon 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, updateTimestampVon 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:OverflowingLRUCacheEnsures 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:
makeSpacein KlasseOverflowingLRUCache<K extends IJavaElement & IOpenable,JavaElementInfo> - Parameter:
space- Amount of space to free up
-
put
Beschreibung aus Klasse kopiert:LRUCacheSets the value in the cache at the given key. Returns the value.- Setzt außer Kraft:
putin KlasseOverflowingLRUCache<K extends IJavaElement & IOpenable,JavaElementInfo> - Parameter:
key- Key of object to add.value- Value of object to add.- Gibt zurück:
- added value.
-