com.ibm.di.config.base
Class ConfigCache
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<String,BaseConfiguration>
com.ibm.di.config.base.ConfigCache
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,BaseConfiguration>
public class ConfigCache
- extends Hashtable<String,BaseConfiguration>
Class used by the MetamergeConfigImpl
and MetamergeConfigXML
classes as an internal cache of configurations.
- See Also:
- Serialized Form
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
ConfigCache
public ConfigCache()
addObject
public void addObject(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(Object name)
- Parameters:
name
- name of object
- Returns:
- configuration of the specified object
getDirtyList
public Vector<String> getDirtyList()
- Returns:
- vector of all objects in the cache
removeObject
public void removeObject(Object name)
- Removes specified configuration from the cache.
- Parameters:
name
- name of configuration