|
| | IFMapServerTable (DB *db, const std::string &name, DBGraph *graph) |
| |
| virtual std::unique_ptr< DBEntry > | AllocEntry (const DBRequestKey *key) const |
| |
| virtual void | Input (DBTablePartition *partition, DBClient *client, DBRequest *req) |
| |
| virtual void | Clear () |
| |
| bool | DeleteIfEmpty (IFMapNode *node) |
| |
| void | Notify (IFMapNode *node) |
| |
| void | IFMapVmSubscribe (const std::string &vr_name, const std::string &vm_name, bool subscribe, bool has_vms) |
| |
| void | IFMapAddVrVmLink (IFMapNode *vr_node, IFMapNode *vm_node) |
| |
| void | IFMapRemoveVrVmLink (IFMapNode *vr_node, IFMapNode *vm_node) |
| |
| | IFMapTable (DB *db, const std::string &name, DBGraph *graph) |
| |
| virtual int | PartitionCount () const |
| |
| virtual const char * | Typename () const =0 |
| |
| virtual IFMapObject * | AllocObject ()=0 |
| |
| IFMapNode * | FindNode (const std::string &name) |
| |
| IFMapNode * | FindNextNode (const std::string &name) |
| |
| | DBGraphTable (DB *db, const std::string &name, DBGraph *graph) |
| |
| const DBGraph * | graph () const |
| |
| DBGraph * | graph () |
| |
| | DBTable (DB *db, const std::string &name) |
| |
| virtual | ~DBTable () |
| |
| void | Init () |
| |
| virtual size_t | Hash (const DBEntry *entry) const |
| |
| virtual size_t | Hash (const DBRequestKey *key) const |
| |
| virtual DBTablePartition * | AllocPartition (int index) |
| |
| virtual DBEntry * | Add (const DBRequest *req) |
| |
| virtual bool | OnChange (DBEntry *entry, const DBRequest *req) |
| |
| virtual bool | Delete (DBEntry *entry, const DBRequest *req) |
| |
| void | NotifyAllEntries () |
| |
| DBEntry * | Find (const DBEntry *entry) |
| |
| const DBEntry * | Find (const DBEntry *entry) const |
| |
| DBEntry * | Find (const DBRequestKey *key, int id=-1) |
| |
| const DBEntry * | Find (const DBRequestKey *key, int id=-1) const |
| |
| DBEntry * | FindNoLock (const DBEntry *entry) |
| |
| DBEntry * | FindNoLock (const DBRequestKey *key) |
| |
| virtual DBTablePartBase * | GetTablePartition (const DBRequestKey *key) |
| |
| virtual const DBTablePartBase * | GetTablePartition (const DBRequestKey *key) const |
| |
| virtual DBTablePartBase * | GetTablePartition (const DBEntryBase *entry) |
| |
| virtual const DBTablePartBase * | GetTablePartition (const DBEntryBase *entry) const |
| |
| virtual DBTablePartBase * | GetTablePartition (const int index) |
| |
| virtual const DBTablePartBase * | GetTablePartition (const int index) const |
| |
| virtual void | Change (DBEntryBase *entry) |
| |
| virtual size_t | Size () const |
| |
| DBTableWalkRef | AllocWalker (WalkFn walk_fn, WalkCompleteFn walk_complete) |
| |
| void | ReleaseWalker (DBTableWalkRef &walk) |
| |
| void | WalkTable (DBTableWalkRef walk) |
| |
| void | WalkAgain (DBTableWalkRef walk) |
| |
| void | SetWalkIterationToYield (int count) |
| |
| int | GetWalkIterationToYield () |
| |
| void | SetWalkTaskId (int task_id) |
| |
| int | GetWalkerTaskId () |
| |
| | DBTableBase (DB *db, const std::string &name) |
| |
| virtual | ~DBTableBase () |
| |
| bool | Enqueue (DBRequest *req) |
| |
| void | EnqueueRemove (DBEntryBase *db_entry) |
| |
| virtual void | AddRemoveCallback (const DBEntryBase *entry, bool add) const |
| |
| ListenerId | Register (ChangeCallback callback, const std::string &name="unspecified") |
| |
| void | Unregister (ListenerId listener) |
| |
| void | RunNotify (DBTablePartBase *tpart, DBEntryBase *entry) |
| |
| void | AddToDBStateCount (ListenerId listener, int count) |
| |
| uint64_t | GetDBStateCount (ListenerId listener) |
| |
| bool | empty () const |
| |
| virtual void | RetryDelete () |
| |
| virtual bool | MayDelete () const |
| |
| DB * | database () |
| |
| const DB * | database () const |
| |
| const std::string & | name () const |
| |
| bool | HasListeners () const |
| |
| size_t | GetListenerCount () const |
| |
| void | FillListeners (std::vector< ShowTableListener > *listeners) const |
| |
| uint64_t | enqueue_count () const |
| |
| void | incr_enqueue_count () |
| |
| void | reset_enqueue_count () |
| |
| uint64_t | input_count () const |
| |
| void | incr_input_count () |
| |
| void | reset_input_count () |
| |
| uint64_t | notify_count () const |
| |
| void | incr_notify_count () |
| |
| void | reset_notify_count () |
| |
| bool | HasWalkers () const |
| |
| uint64_t | walker_count () const |
| |
| void | incr_walker_count () |
| |
| uint64_t | decr_walker_count () |
| |
| uint64_t | walk_request_count () const |
| |
| uint64_t | walk_complete_count () const |
| |
| uint64_t | walk_cancel_count () const |
| |
| uint64_t | walk_again_count () const |
| |
| uint64_t | walk_count () const |
| |
| void | incr_walk_request_count () |
| |
| void | incr_walk_complete_count () |
| |
| void | incr_walk_cancel_count () |
| |
| void | incr_walk_again_count () |
| |
| void | incr_walk_count () |
| |
|
| IFMapNode * | EntryLocate (RequestKey *key, bool *changep) |
| |
| IFMapNode * | EntryLookup (RequestKey *key) |
| |
| IFMapObject * | LocateObject (IFMapNode *node, IFMapOrigin origin) |
| |
| IFMapIdentifier * | LocateIdentifier (IFMapNode *node, IFMapOrigin origin, uint64_t sequence_number) |
| |
| IFMapLinkAttr * | LocateLinkAttr (IFMapNode *node, IFMapOrigin origin, uint64_t sequence_number) |
| |
| void | DeleteNode (IFMapNode *node) |
| |
| IFMapLink * | LinkNodeAdd (IFMapNode *first, IFMapNode *second, const std::string &metadata, uint64_t sequence_number, const IFMapOrigin &origin) |
| |
| IFMapLink * | FindLinkNode (IFMapNode *first, IFMapNode *second, const std::string &metadata) |
| |
| void | LinkNodeDelete (IFMapLink *link, const IFMapOrigin &origin) |
| |
| void | LinkNodeUpdate (IFMapLink *link, uint64_t sequence_number, const IFMapOrigin &origin) |
| |
| void | IFMapProcVmSubscribe (const std::string &vr_name, const std::string &vm_name) |
| |
| void | IFMapProcVmUnsubscribe (const std::string &vr_name, const std::string &vm_name, bool has_vms) |
| |
Definition at line 20 of file ifmap_server_table.h.