java.lang.Object | +--com.ibm.commerce.order.calculation.Cache | +--com.ibm.commerce.fulfillment.commands.JurisdictionGroupCache
This MRU cache caches JurisdictionIds by JurisdictionGroupId.
Nested Class Summary | |
---|---|
static class |
JurisdictionGroupCache.Key Key class of JurisdictionGroupCache. |
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The IBM copyright string. |
Fields inherited from class com.ibm.commerce.order.calculation. Cache |
DEFAULT_MAX_SIZE |
Constructor Summary | |
---|---|
JurisdictionGroupCache() Constructs a JurisdictionGroupCache with the default cache size. | |
JurisdictionGroupCache(int anCacheSize) Constructs a JurisdictionGroupCache with the specified cache size. |
Method Summary | |
---|---|
java.lang.Integer[] |
getJurisdictionIds(
JurisdictionGroupCache.Key aKey) Returns the JurisdictionIds associated with the JurisdictionGroup indicated by aKey. |
protected
abstract java.lang.Integer |
getSubclass() Returns the JurisdictionGroupRelationship subclass. |
protected
java.lang.Object |
miss(java.lang.Object aKey) Returns the array of JurisdictionIds for the specified JurisdictionGroupId. |
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
Constructor Detail |
---|
public JurisdictionGroupCache()
public JurisdictionGroupCache(int anCacheSize)
anCacheSize
- the cache sizeMethod Detail |
---|
public java.lang.Integer[] getJurisdictionIds(JurisdictionGroupCache.Key aKey) throws ECException
aKey
- indicates the JurisisdictionGroup.ECException
protected java.lang.Object miss(java.lang.Object aKey) throws ECException
miss
in class
Cache
aKey
- the key (JurisdictionGroupCache.Key).ECException
Cache.miss(Object)
protected abstract java.lang.Integer getSubclass()