#include <BESDefinitionStorageList.h>
Inheritance diagram for BESDefinitionStorageList:
Public Member Functions | |
virtual | ~BESDefinitionStorageList () |
virtual bool | add_persistence (BESDefinitionStorage *p) |
Add a persistent store to the list. | |
virtual bool | del_persistence (const string &persist_name) |
remove a persistent store from the list | |
virtual BESDefinitionStorage * | find_persistence (const string &persist_name) |
find the persistence store with the given name | |
virtual BESDefine * | look_for (const string &def_name) |
look for the specified definition in the list of defintion stores. | |
virtual void | show_definitions (BESInfo &info) |
show information for each definition in each persistence store | |
virtual void | dump (ostream &strm) const |
dumps information about this object | |
Static Public Member Functions | |
static BESDefinitionStorageList * | TheList () |
Protected Member Functions | |
BESDefinitionStorageList () | |
Classes | |
struct | _persistence_list |
This class provides a mechanism for users to access definitions from different definition stores, such as from a MySQL database, a file, or volatile stores.
Users can add different BESDefinitionStorage instances to this persistent list. Then, when a user looks for a definition, that search goes through the list of persistent stores in the order they were added to this list.
|
|
|
|
|
Add a persistent store to the list. Each persistent store has a name. If a persistent store already exists in the list with that name then the persistent store is not added. Otherwise the store is added to the list. The persistent stores are searched in the order in which they were added.
|
|
remove a persistent store from the list Removes the named persistent store from the list.
|
|
dumps information about this object Displays the pointer value of this instance along with the list of definition storage instaces registered with the list.
Implements BESObj. |
|
find the persistence store with the given name Returns the persistence store with the given name
|
|
look for the specified definition in the list of defintion stores. Looks for a definition with the given name in the order in which definition stores were added to the definition storage list.
|
|
show information for each definition in each persistence store For each definition in each persistent store, add infomation about each of those definitions. The information added to the information object includes the persistent store name, in the order the persistent stores are searched, followed by a line for each definition within that persistent store which includes the name of the definition, information about each container used by that definition, the aggregation server being used and the aggregation command being used if aggregation is specified.
|
|
|