|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.internal.core.util.LRUCache
org.aspectj.org.eclipse.jdt.internal.core.OverflowingLRUCache
org.aspectj.org.eclipse.jdt.internal.core.ElementCache
org.aspectj.org.eclipse.jdt.internal.core.VerboseElementCache
public class VerboseElementCache
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.LRUCache |
|---|
LRUCache.LRUCacheEntry, LRUCache.Stats |
| Field Summary |
|---|
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.OverflowingLRUCache |
|---|
loadFactor, overflow, timestampsOn |
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.LRUCache |
|---|
currentSpace, DEFAULT_SPACELIMIT, entryQueue, entryQueueTail, entryTable, spaceLimit, timestampCounter |
| Constructor Summary | |
|---|---|
VerboseElementCache(int size,
java.lang.String name)
|
|
| Method Summary | |
|---|---|
protected boolean |
makeSpace(int space)
Ensures there is the specified amount of free space in the receiver, by removing old entries if necessary. |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
Sets the value in the cache at the given key. |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.ElementCache |
|---|
close, ensureSpaceLimit, newInstance, resetSpaceLimit |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.OverflowingLRUCache |
|---|
clone, elements, fillingRatio, getEntryTable, getLoadFactor, getOverflow, printStats, privateRemoveEntry, privateRemoveEntry, remove, setLoadFactor, setSpaceLimit, shrink, toString, updateTimestamp |
| Methods inherited from class 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 |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VerboseElementCache(int size,
java.lang.String name)
| Method Detail |
|---|
protected boolean makeSpace(int space)
OverflowingLRUCache
makeSpace in class OverflowingLRUCachespace - Amount of space to free up
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
OverflowingLRUCache
put in class OverflowingLRUCachekey - Key of object to add.value - Value of object to add.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||