| java.lang.Object org.jacorb.notification.util.CachingWildcardMap
CachingWildcardMap | public class CachingWildcardMap implements WildcardMap(Code) | | Add Caching to WildcardMap. If the Keys inside the Map contain the Wildcard Operator '*' the
Operation getWithExpansion is rather timeconsuming. For each Key that contains a '*' a pattern
match must be done. This Decorator adds simple Caching. When a key is looked up the retrieved
value is stored in an internal cache with fixed size. Subsequent calls to getWithExpansion query
the cache first. As soon as a put or remove Operation occurs the Cache is invalidated.
author: Alphonse Bendt version: $Id: CachingWildcardMap.java,v 1.5 2005/02/14 00:13:05 alphonse.bendt Exp $ |
CachingWildcardMap | public CachingWildcardMap()(Code) | | |
CachingWildcardMap | public CachingWildcardMap(int cacheSize, WildcardMap delegate)(Code) | | |
clear | public void clear()(Code) | | |
|
|