#include <ksync_object.h>
|
| KSyncObject (const std::string &name) |
|
| KSyncObject (const std::string &name, int max_index) |
|
virtual | ~KSyncObject () |
|
void | InitStaleEntryCleanup (boost::asio::io_context &ios, uint32_t cleanup_time, uint32_t cleanup_intvl, uint16_t entries_per_intvl) |
|
void | NotifyEvent (KSyncEntry *entry, KSyncEntry::KSyncEvent event) |
|
void | SafeNotifyEvent (KSyncEntry *entry, KSyncEntry::KSyncEvent event) |
|
virtual void | NetlinkAck (KSyncEntry *entry, KSyncEntry::KSyncEvent event) |
|
void | BackRefAdd (KSyncEntry *key, KSyncEntry *reference) |
|
void | BackRefDel (KSyncEntry *key) |
|
void | BackRefReEval (KSyncEntry *key) |
|
KSyncEntry * | Create (const KSyncEntry *key) |
|
KSyncEntry * | Create (const KSyncEntry *key, bool skip_lookup) |
|
KSyncEntry * | CreateStale (const KSyncEntry *key) |
|
void | Change (KSyncEntry *entry) |
|
void | Delete (KSyncEntry *entry) |
|
KSyncEntry * | Find (const KSyncEntry *key) |
|
KSyncEntry * | Next (const KSyncEntry *entry) const |
|
KSyncEntry * | GetReference (const KSyncEntry *key) |
|
virtual KSyncEntry * | Alloc (const KSyncEntry *key, uint32_t index)=0 |
|
virtual void | Free (KSyncEntry *entry) |
|
virtual void | EmptyTable (void) |
|
bool | IsEmpty (void) |
|
virtual bool | DoEventTrace (void) |
|
virtual void | PreFree (KSyncEntry *entry) |
|
std::size_t | Size () |
|
void | set_delete_scheduled () |
|
bool | delete_scheduled () |
|
virtual SandeshTraceBufferPtr | GetKSyncTraceBuf () |
|
|
tbb::recursive_mutex | lock_ |
|
Definition at line 70 of file ksync_object.h.
◆ BackRefTree
◆ FwdRefTree
◆ KSyncBackRefNode
◆ KSyncFwdRefNode
◆ KSyncObjectNode
◆ Tree
◆ KSyncObject() [1/2]
KSyncObject::KSyncObject |
( |
const std::string & |
name | ) |
|
◆ KSyncObject() [2/2]
KSyncObject::KSyncObject |
( |
const std::string & |
name, |
|
|
int |
max_index |
|
) |
| |
◆ ~KSyncObject()
KSyncObject::~KSyncObject |
( |
| ) |
|
|
virtual |
◆ Alloc()
Implemented in KSyncVxlanRouteObject, KSyncVxlanPortObject, KSyncVxlanBridgeObject, FlowTableKSyncObject, BridgeRouteAuditKSyncObject, OVSDB::VrfOvsdbObject, OVSDB::VnOvsdbObject, OVSDB::VMInterfaceKSyncObject, OVSDB::VlanPortBindingTable, OVSDB::UnicastMacRemoteTable, OVSDB::UnicastMacLocalOvsdb, OVSDB::PhysicalSwitchTable, OVSDB::PhysicalPortTable, OVSDB::PhysicalLocatorTable, OVSDB::MulticastMacLocalOvsdb, OVSDB::LogicalSwitchTable, OVSDB::HaStaleVnTable, OVSDB::HaStaleL2RouteTable, OVSDB::HaStaleDevVnTable, KSyncLinuxPortObject, KSyncLinuxFdbObject, KSyncLinuxBridgeObject, VxLanKSyncObject, VrfAssignKSyncObject, VrfKSyncObject, RouteKSyncObject, QosConfigKSyncObject, NHKSyncObject, MplsKSyncObject, MirrorKSyncObject, InterfaceKSyncObject, ForwardingClassKSyncObject, and QosQueueKSyncObject.
◆ BackRefAdd()
◆ BackRefDel()
◆ BackRefReEval()
void KSyncObject::BackRefReEval |
( |
KSyncEntry * |
key | ) |
|
◆ Change()
◆ ChangeKey()
void KSyncObject::ChangeKey |
( |
KSyncEntry * |
entry, |
|
|
uint32_t |
arg |
|
) |
| |
|
protected |
◆ CleanupOnDel()
virtual void KSyncObject::CleanupOnDel |
( |
KSyncEntry * |
kentry | ) |
|
|
inlineprivatevirtual |
◆ ClearStale()
void KSyncObject::ClearStale |
( |
KSyncEntry * |
entry | ) |
|
|
protected |
◆ Create() [1/2]
◆ Create() [2/2]
◆ CreateImpl()
◆ CreateStale()
◆ Delete()
◆ delete_scheduled()
bool KSyncObject::delete_scheduled |
( |
| ) |
|
|
inline |
◆ DISALLOW_COPY_AND_ASSIGN()
◆ DoEventTrace()
virtual bool KSyncObject::DoEventTrace |
( |
void |
| ) |
|
|
inlinevirtual |
◆ EmptyTable()
virtual void KSyncObject::EmptyTable |
( |
void |
| ) |
|
|
inlinevirtual |
◆ Find()
◆ Free()
◆ FreeInd()
void KSyncObject::FreeInd |
( |
KSyncEntry * |
entry, |
|
|
uint32_t |
index |
|
) |
| |
|
private |
◆ GetKey()
uint32_t KSyncObject::GetKey |
( |
KSyncEntry * |
entry | ) |
|
|
protectedvirtual |
◆ GetKSyncTraceBuf()
◆ GetReference()
◆ InitStaleEntryCleanup()
void KSyncObject::InitStaleEntryCleanup |
( |
boost::asio::io_context & |
ios, |
|
|
uint32_t |
cleanup_time, |
|
|
uint32_t |
cleanup_intvl, |
|
|
uint16_t |
entries_per_intvl |
|
) |
| |
◆ IsEmpty()
bool KSyncObject::IsEmpty |
( |
void |
| ) |
|
|
inline |
◆ IsIndexValid()
bool KSyncObject::IsIndexValid |
( |
| ) |
const |
|
inlineprivate |
◆ NetlinkAck()
◆ NetlinkAckInternal()
◆ Next()
◆ NotifyEvent()
◆ PreFree()
virtual void KSyncObject::PreFree |
( |
KSyncEntry * |
entry | ) |
|
|
inlinevirtual |
◆ SafeNotifyEvent()
◆ set_delete_scheduled()
void KSyncObject::set_delete_scheduled |
( |
| ) |
|
|
inline |
◆ Shutdown()
void KSyncObject::Shutdown |
( |
| ) |
|
|
static |
◆ Size()
std::size_t KSyncObject::Size |
( |
| ) |
|
|
inline |
◆ StaleEntryCleanupCb()
bool KSyncObject::StaleEntryCleanupCb |
( |
| ) |
|
|
private |
◆ UpdateKey()
virtual void KSyncObject::UpdateKey |
( |
KSyncEntry * |
entry, |
|
|
uint32_t |
arg |
|
) |
| |
|
inlineprotectedvirtual |
◆ KSyncEntry
◆ TestTriggerStaleEntryCleanupCb
void TestTriggerStaleEntryCleanupCb |
( |
KSyncObject * |
obj | ) |
|
|
friend |
◆ back_ref_tree_
◆ delete_scheduled_
bool KSyncObject::delete_scheduled_ |
|
private |
◆ fwd_ref_tree_
◆ index_table_
◆ KSyncTraceBuf
◆ lock_
tbb::recursive_mutex KSyncObject::lock_ |
|
mutableprotected |
◆ need_index_
bool KSyncObject::need_index_ |
|
private |
◆ stale_entries_per_intvl_
uint16_t KSyncObject::stale_entries_per_intvl_ |
|
private |
◆ stale_entry_cleanup_intvl_
uint32_t KSyncObject::stale_entry_cleanup_intvl_ |
|
private |
◆ stale_entry_cleanup_timer_
Timer* KSyncObject::stale_entry_cleanup_timer_ |
|
private |
◆ stale_entry_tree_
◆ tree_
The documentation for this class was generated from the following files: