ariba.util.core
Class LinearLRUHashtable
java.lang.Object
ariba.util.core.LRUHashtable
ariba.util.core.LinearLRUHashtable
public class LinearLRUHashtable
- extends LRUHashtable
Provides an LRUHashtable that uses linear growth (the LRUHashtable class
uses exponential growth).
|
Method Summary |
boolean |
purgeOneItem()
Removes the oldest item from the hashtable
and returns true if more items need purging. |
| Methods inherited from class ariba.util.core.LRUHashtable |
addKeysTo, addValuesTo, allKeys, allValues, clear, dump, dumpInOrder, dumpLRUStats, dumpSummary, entries, get, getHits, getLookups, getOldestKey, getTotalInUseEntries, peek, purgeOldestEntries, put, remove, removeOldest, sane |
LinearLRUHashtable
public LinearLRUHashtable(String name,
int initialEntries,
int targetEntries,
int purgeMargin,
int growthAmount,
double maxLoad,
LRURemoveListener removeListener)
purgeOneItem
public boolean purgeOneItem()
- Removes the oldest item from the hashtable
and returns true if more items need purging.
AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.