com.ibm.commerce.fulfillment.commands

Class ShippingJurisdictionGroupCache

  • All Implemented Interfaces:
    com.ibm.commerce.datatype.CustomProperty


    public class ShippingJurisdictionGroupCache
    extends JurisdictionGroupCache
    implements com.ibm.commerce.datatype.CustomProperty
    This MRU cache caches ShippingJurisdictionIds by ShippingJurisdictionGroupId.
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The IBM copyright string.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ShippingJurisdictionGroupCache

        public ShippingJurisdictionGroupCache()
        Constructor for ShippingJurisdictionGroupCache.
      • ShippingJurisdictionGroupCache

        public ShippingJurisdictionGroupCache(int anCacheSize)
        Constructor for ShippingJurisdictionGroupCache.
        Parameters:
        anCacheSize -
    • Method Detail

      • getInstance

        public static ShippingJurisdictionGroupCache getInstance(CommandContext aCommandContext)
        Returns the instance from the command context. Creates one in the command context if one is not there already.
        Parameters:
        aCommandContext - The command context as CommandContext object.
        Returns:
        the instance from the command context.
      • releaseInstance

        public static void releaseInstance(CommandContext aCommandContext)
        Releases the instance from the command context, if there is one in the command context.
        Parameters:
        aCommandContext - The command context as CommandContext object.