com.ibm.commerce.contract.util

Class StoreContractRelatedMemoryCache

  • java.lang.Object
    • com.ibm.commerce.contract.util.StoreContractRelatedMemoryCache


  • public class StoreContractRelatedMemoryCache
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String CLASSNAME
      Class name.
      static java.lang.String COPYRIGHT
      IBM Copyright notice field.
      static java.lang.String STORE_CONTRACT_CACHE_NAME
      The StoreContract cache jndi name.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void clear()
      Clear all the object from the cache.
      java.util.Map<java.lang.String,java.lang.String> getContractStore(java.lang.Object iaiKey) 
      static StoreContractRelatedMemoryCache instance()
      This method gets the singleton instance of InventoryMemoryCache, which should be initialized.
      static void shutdown()
      Call this method when the WC application is being shut down.
      void updateStoreContract(java.lang.Object iaiKey, java.lang.Object iatValue) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
      • STORE_CONTRACT_CACHE_NAME

        public static final java.lang.String STORE_CONTRACT_CACHE_NAME
        The StoreContract cache jndi name.
        See Also:
        Constant Field Values
    • Method Detail

      • clear

        public void clear()
        Clear all the object from the cache.
      • getContractStore

        public java.util.Map<java.lang.String,java.lang.String> getContractStore(java.lang.Object iaiKey)
        Parameters:
        iaiKey - : String
        Returns:
        Map
      • instance

        public static StoreContractRelatedMemoryCache instance()
        This method gets the singleton instance of InventoryMemoryCache, which should be initialized.
        Returns:
        the singleton instance of InventoryMemoryCache.
      • shutdown

        public static void shutdown()
        Call this method when the WC application is being shut down.
      • updateStoreContract

        public void updateStoreContract(java.lang.Object iaiKey,
                                        java.lang.Object iatValue)
        Parameters:
        iaiKey - : String
        iatValue - : HashMap