|
OpenSDN source code
|
#include <db_table_partition.h>


Public Types | |
| typedef boost::intrusive::member_hook< DBEntryBase, boost::intrusive::list_member_hook<>, &DBEntryBase::chg_list_ > | ChangeListMember |
| typedef boost::intrusive::list< DBEntryBase, ChangeListMember > | ChangeList |
Public Member Functions | |
| DBTablePartBase (DBTableBase *tbl_base, int index) | |
| virtual void | Process (DBClient *client, DBRequest *req)=0 |
| void | Notify (DBEntryBase *entry) |
| bool | RunNotify () |
| DBTableBase * | parent () |
| int | index () const |
| virtual void | Remove (DBEntryBase *)=0 |
| void | Delete (DBEntryBase *) |
| virtual DBEntryBase * | lower_bound (const DBEntryBase *key)=0 |
| virtual DBEntryBase * | GetFirst ()=0 |
| virtual DBEntryBase * | GetNext (const DBEntryBase *)=0 |
| tbb::spin_rw_mutex & | dbstate_mutex () |
| virtual | ~DBTablePartBase () |
Static Public Attributes | |
| static const int | kMaxIterations = 256 |
Private Member Functions | |
| DISALLOW_COPY_AND_ASSIGN (DBTablePartBase) | |
Private Attributes | |
| tbb::spin_rw_mutex | dbstate_mutex_ |
| DBTableBase * | parent_ |
| int | index_ |
| ChangeList | change_list_ |
Definition at line 18 of file db_table_partition.h.
| typedef boost::intrusive::list<DBEntryBase, ChangeListMember> DBTablePartBase::ChangeList |
Definition at line 25 of file db_table_partition.h.
| typedef boost::intrusive::member_hook<DBEntryBase, boost::intrusive::list_member_hook<>, &DBEntryBase::chg_list_> DBTablePartBase::ChangeListMember |
Definition at line 23 of file db_table_partition.h.
|
inline |
Definition at line 28 of file db_table_partition.h.
|
inlinevirtual |
Definition at line 57 of file db_table_partition.h.
|
inline |
Definition at line 53 of file db_table_partition.h.
| void DBTablePartBase::Delete | ( | DBEntryBase * | entry | ) |
|
private |
|
pure virtual |
Implemented in DBTablePartition.
|
pure virtual |
Implemented in DBTablePartition.
|
inline |
Definition at line 42 of file db_table_partition.h.
|
pure virtual |
Implemented in DBTablePartition.
| void DBTablePartBase::Notify | ( | DBEntryBase * | entry | ) |
|
inline |
Definition at line 41 of file db_table_partition.h.
Implemented in DBTablePartition.
|
pure virtual |
Implemented in AgentDBTablePartition, and DBTablePartition.
| bool DBTablePartBase::RunNotify | ( | ) |
|
private |
Definition at line 62 of file db_table_partition.h.
|
private |
Definition at line 59 of file db_table_partition.h.
|
private |
Definition at line 61 of file db_table_partition.h.
|
static |
Definition at line 20 of file db_table_partition.h.
|
private |
Definition at line 60 of file db_table_partition.h.