com.ibm.commerce.order.calculation
Class MethodCache

java.lang.Object
  |
  +--com.ibm.commerce.order.calculation.Cache
        |
        +--com.ibm.commerce.order.calculation.MethodCache

public class MethodCache
extends Cache

Reserved for IBM internal use. Caches the CALMETHOD table.


Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from class com.ibm.commerce.order.calculation. Cache
DEFAULT_MAX_SIZE
 
Constructor Summary
MethodCache()
           
MethodCache(int anCacheSize)
           
 
Method Summary
protected  java.lang.Object miss(java.lang.Object aKey)
          Returns the value a key is mapped to.
 
Methods inherited from class com.ibm.commerce.order.calculation. Cache
clear, get, getSize, remove, setMaxSize, setSize, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail
public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

MethodCache

public MethodCache()

MethodCache

public MethodCache(int anCacheSize)
Method Detail

miss

protected java.lang.Object miss(java.lang.Object aKey)
                         throws ECException
Description copied from class: Cache
Returns the value a key is mapped to. This method is called by Cache.get(Object) when the mapping is not found in the cache and should be overridden by the implementing class.
Specified by:
miss in class Cache
Parameters:
aKey - the key.
Returns:
the value.
Throws:
ECException