Package com._1c.g5.v8.dt.form.model.util
Class FormDataSourceInfoCache
- java.lang.Object
-
- com._1c.g5.v8.dt.form.model.util.FormDataSourceInfoCache
-
public class FormDataSourceInfoCache extends Object
Property Info Cache being cleared as structural features of objects are being changed.
-
-
Field Summary
Fields Modifier and Type Field Description static String
EDSI_REGION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
evictAllValues(IBmEngine engine)
Evicts all values from the cache.void
evictValuesByRegionName(String regionName, IBmEngine engine)
Evicts values by region name from the cache.static FormDataSourceInfoCache
getInstance()
Object
getValue(Long key, String regionName, IBmEngine engine)
Gets the cached value.void
putValue(Long key, Object value, String regionName, IBmEngine engine)
Adds values to the cache.
-
-
-
Field Detail
-
EDSI_REGION
public static final String EDSI_REGION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static FormDataSourceInfoCache getInstance()
-
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.
-
-