Class FormDataSourceInfoCache


  • public class FormDataSourceInfoCache
    extends Object
    Property Info Cache being cleared as structural features of objects are being changed.
    • Method Detail

      • evictAllValues

        public void evictAllValues​(IBmEngine engine)
        Evicts all values from the cache.
        Parameters:
        model - Model to evict cache for.
      • evictValuesByRegionName

        public void evictValuesByRegionName​(String regionName,
                                            IBmEngine engine)
        Evicts values by region name from the cache.
        Parameters:
        regionName - the name of the cache region.
        model - Model to evict cache for.
      • getValue

        public Object getValue​(Long key,
                               String regionName,
                               IBmEngine engine)
        Gets the cached value.
        Parameters:
        key - The value key.
        regionName - The name of the cache region.
        Returns:
        The cached value if any.
      • putValue

        public void putValue​(Long key,
                             Object value,
                             String regionName,
                             IBmEngine engine)
        Adds values to the cache.
        Parameters:
        key - The value key.
        value - The value itself.
        regionName - The name of the cache region.