|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.core.cache.OrderedCache
Insert the type's description here. Creation date: (9/7/00 11:42:43 AM)
| Constructor Summary | |
OrderedCache()
OrderedCache constructor comment. |
|
| Method Summary | |
void |
addItem(CacheEntry newItem)
addItem method comment. |
void |
clear()
clear method comment. |
CacheEntry |
getCacheEntry(String itemKey)
Retrieve the low-level CacheEntry for the cache. |
Cacheable |
getItem(String itemKey)
removeItem method comment. |
int |
getItemCount()
getItemCount method comment. |
Vector |
getItems()
Retrieves all the items in this cache May return an empty Vector if the cache contents have expired. |
String |
getName()
getName method comment. |
long |
getUsedCount()
getUsedCount method comment. |
boolean |
isOrdered()
Retrieve whether the cache instance is an ordered cache [list based] or unordered cache. |
void |
removeItem(Cacheable oldItem)
removeItem method comment. |
void |
setItems(List newItems)
Eventually the new way to set items |
void |
setItems(Vector newItems)
getItemCount method comment. |
void |
setMaxSize(int newMaxSize)
setName method comment. |
void |
setName(String newName)
setName method comment. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OrderedCache()
| Method Detail |
public void addItem(CacheEntry newItem)
addItem in interface CachenewItem - New item to add.public void clear()
clear in interface Cachepublic CacheEntry getCacheEntry(String itemKey)
getCacheEntry in interface CacheitemKey - the cache key to retrieve
public Cacheable getItem(String itemKey)
getItem in interface CacheitemKey - The item key
public int getItemCount()
getItemCount in interface Cachepublic Vector getItems()
getItems in interface Cachepublic String getName()
getName in interface Cachepublic long getUsedCount()
getUsedCount in interface Cachepublic boolean isOrdered()
isOrdered in interface Cachepublic void removeItem(Cacheable oldItem)
removeItem in interface CacheoldItem - the old item to remove
public void setItems(List newItems)
throws CacheException
setItems in interface CachenewItems - the new items to add
CacheException - upon error
public void setItems(Vector newItems)
throws CacheException
setItems in interface CachenewItems - the new items to add
CacheException - If there's an error setting the new items in
the cachepublic void setMaxSize(int newMaxSize)
setMaxSize in interface CachenewMaxSize - the new maximum size for the cachepublic void setName(String newName)
setName in interface CachenewName - The new cache name
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||