Package com.ibm.di.config.base
Class ConfigCache
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<java.lang.String,BaseConfiguration>
-
- com.ibm.di.config.base.ConfigCache
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.String,BaseConfiguration>
public class ConfigCache extends java.util.Hashtable<java.lang.String,BaseConfiguration>
Class used by theMetamergeConfigImpl
andMetamergeConfigXML
classes as an internal cache of configurations.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addObject(java.lang.Object name, BaseConfiguration data)
Adds new configuration to the cache.java.util.Vector<java.lang.String>
getDirtyList()
BaseConfiguration
getObject(java.lang.Object name)
void
removeObject(java.lang.Object name)
Removes specified configuration from the cache.-
Methods inherited from class java.util.Hashtable
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
-
-
-
-
Method Detail
-
addObject
public void addObject(java.lang.Object name, BaseConfiguration data)
Adds new configuration to the cache.- Parameters:
name
- name of the new configurationdata
- configuration represented by that name
-
getObject
public BaseConfiguration getObject(java.lang.Object name)
- Parameters:
name
- name of object- Returns:
- configuration of the specified object
-
getDirtyList
public java.util.Vector<java.lang.String> getDirtyList()
- Returns:
- vector of all objects in the cache
-
removeObject
public void removeObject(java.lang.Object name)
Removes specified configuration from the cache.- Parameters:
name
- name of configuration
-
-