摘要 |
Information concerning CIM classes and instances used to model a managed system is stored in two hash tables that are built at runtime when instances are added to the system. The first hash table, called a subclass table, identifies the subclasses of each CIM class. The second hash table, called an instance table, identifies the instances in the system for each class. The instance and subclass tables are used to retrieve information concerning the CIM instances. In particular, the instance table is used to retrieve all instances of a particular class and the subclass table is used to determine which classes to examine for instances. In one embodiment, the instance table is a hash table that contains a plurality of hash tables. The first hash table, called the primary instance table, contains key-value pair entries, in each entry the key is a CIM class and the value is a secondary hash table that contains the instances of that CIM class. The secondary hash table also contains key-value pair entries. For each entry, the key is the OID value of one instance of the CIM class used as the key in the instance table and the value is the instance.
|