OpenSDN source code
|
#include <db_entry.h>
Public Member Functions | |
DBEntry () | |
virtual | ~DBEntry () |
virtual void | SetKey (const DBRequestKey *key)=0 |
virtual bool | IsLess (const DBEntry &rhs) const =0 |
bool | operator< (const DBEntry &rhs) const |
![]() | |
DBEntryBase () | |
virtual | ~DBEntryBase () |
virtual std::string | ToString () const =0 |
virtual KeyPtr | GetDBRequestKey () const =0 |
virtual bool | IsMoreSpecific (const std::string &match) const |
virtual bool | IsLessSpecific (const std::string &match) const |
void | SetState (DBTableBase *tbl_base, ListenerId listener, DBState *state) |
void | ClearState (DBTableBase *tbl_base, ListenerId listener) |
DBState * | GetState (DBTableBase *tbl_base, ListenerId listener) const |
const DBState * | GetState (const DBTableBase *tbl_base, ListenerId listener) const |
bool | is_state_empty (DBTablePartBase *tpart) |
bool | is_state_empty_unlocked (DBTablePartBase *tpart) |
void | Delete () |
void | MarkDelete () |
void | ClearDelete () |
bool | IsDeleted () const |
void | set_onlist () |
void | clear_onlist () |
bool | is_onlist () |
void | SetOnRemoveQ () |
bool | IsOnRemoveQ () |
void | ClearOnRemoveQ () |
void | set_last_change_at (uint64_t time) |
void | set_last_change_at_to_now () |
const uint64_t | last_change_at () const |
const std::string | last_change_at_str () const |
void | set_last_update_at (uint64_t time) |
void | set_last_update_at_to_now () |
const uint64_t | last_update_at () const |
DBTablePartBase * | get_table_partition () const |
void | set_table_partition (DBTablePartBase *tpart) |
DBTableBase * | get_table () const |
void | Notify () |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (DBEntry) | |
Private Attributes | |
boost::intrusive::set_member_hook | node_ |
Friends | |
class | DBTablePartition |
Additional Inherited Members | |
![]() | |
typedef DBTableBase::ListenerId | ListenerId |
typedef std::unique_ptr < DBRequestKey > | KeyPtr |
![]() | |
boost::intrusive::list_member_hook | chg_list_ |
Definition at line 97 of file db_entry.h.
|
inline |
Definition at line 99 of file db_entry.h.
|
inlinevirtual |
Definition at line 100 of file db_entry.h.
|
private |
|
pure virtual |
Implemented in NextHop, HealthCheckService, AgentRoute, EvpnRoute, VnEntry, MvpnRoute, AclDBEntry, ServiceInstance, VrfEntry, ErmVpnRoute, Inet6Route, Interface, InetRoute, TagEntry, Inet6VpnRoute, PhysicalDevice, PhysicalDeviceVn, PolicySet, SecurityLoggingObject, MirrorEntry, MplsLabel, CryptTunnelEntry, ForwardingClass, VrfAssign, MulticastPolicyEntry, AgentQosConfig, BridgeDomainEntry, IFMapLink, QosQueue, InetVpnRoute, SgEntry, RTargetRoute, VmEntry, Policy, IFMapNode, and VxLanId.
|
inline |
|
pure virtual |
Implemented in CompositeNH, VlanNH, VrfNH, InterfaceNH, PBBNH, NdpNH, ArpNH, ResolveNH, ReceiveNH, L2ReceiveNH, DiscardNH, NextHop, HealthCheckService, AgentRoute, EvpnRouteEntry, EvpnRoute, MirrorNH, VnEntry, MvpnRoute, BridgeRouteEntry, AclDBEntry, ServiceInstance, VrfEntry, VlanVrfAssign, ErmVpnRoute, Inet6Route, Interface, TagEntry, PhysicalDevice, InetUnicastRouteEntry, PolicySet, InetRoute, Inet4MulticastRouteEntry, PhysicalDeviceVn, Inet6VpnRoute, SecurityLoggingObject, MirrorEntry, MplsLabel, ForwardingClass, CryptTunnelEntry, AgentQosConfig, MulticastPolicyEntry, QosQueue, BridgeDomainEntry, SgEntry, IFMapLink, VmEntry, Policy, InetVpnRoute, IFMapNode, RTargetRoute, TunnelNH, and VxLanId.
|
friend |
Definition at line 113 of file db_entry.h.
|
private |
Definition at line 114 of file db_entry.h.