com.ibm.commerce.registry
Class TermConditionCache
java.lang.Object
|
+--com.ibm.commerce.order.calculation.Cache
|
+--com.ibm.commerce.registry.TermConditionCache
- public class TermConditionCache
- extends
Cache
This Most Recently Used (MRU) cache caches TermConditionAccessBeans by term
and condition identifier.
Field Summary |
static java.lang.String |
COPYRIGHT
Copyright statement. |
Constructor Summary |
TermConditionCache()
Constructs a TermConditionCache with the default cache
size. |
TermConditionCache(int anCacheSize)
Constructs a TermConditionCache with the specified cache
size. |
Method Summary |
protected
java.lang.Object |
miss(java.lang.Object aKey)
Returns the TermConditionAccessBean with the specified term and
condition identifier. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait,
wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- Copyright statement.
- See Also:
-
Constant Field Values
TermConditionCache
public TermConditionCache()
- Constructs a TermConditionCache with the default cache size.
TermConditionCache
public TermConditionCache(int anCacheSize)
- Constructs a TermConditionCache with the specified cache size.
- Parameters:
anCacheSize
- The cache size
miss
protected java.lang.Object miss(java.lang.Object aKey)
throws ECException
- Returns the TermConditionAccessBean with the specified term and condition
identifier.
-
- Specified by:
-
miss
in class
Cache
-
- Parameters:
aKey
- The Term Condtion Identifier
- Returns:
- the TermConditionAccessBean, or null if not found
- Throws:
-
ECException
- See Also:
-
Cache.miss(Object)