#include <P_HostDBProcessor.h>
Inherits MultiCache< HostDBInfo >.

| Public Member Functions | |
| int | rebuild_callout (HostDBInfo *e, RebuildMC &r) | 
| int | start (int flags=0) | 
| MultiCacheBase * | dup () | 
| virtual size_t | estimated_heap_bytes_per_entry () const | 
| Queue< HostDBContinuation, Continuation::Link_link > & | pending_dns_for_hash (INK_MD5 &md5) | 
| HostDBCache () | |
| Data Fields | |
| Queue< HostDBContinuation, Continuation::Link_link > | pending_dns [MULTI_CACHE_PARTITIONS] | 
Definition at line 200 of file P_HostDBProcessor.h.
| HostDBCache::HostDBCache | ( | ) | 
Definition at line 189 of file HostDB.cc.
References VersionNumber::ink_major, VersionNumber::ink_minor, MultiCacheHeader::max_hits, MultiCacheHeader::tag_bits, and MultiCacheHeader::version.
| MultiCacheBase* HostDBCache::dup | ( | ) |  [inline, virtual] | 
Reimplemented from MultiCache< HostDBInfo >.
Definition at line 204 of file P_HostDBProcessor.h.
| virtual size_t HostDBCache::estimated_heap_bytes_per_entry | ( | ) | const  [inline, virtual] | 
Reimplemented from MultiCacheBase.
Definition at line 211 of file P_HostDBProcessor.h.
References hostdb_srv_enabled.
| Queue< HostDBContinuation > & HostDBCache::pending_dns_for_hash | ( | INK_MD5 & | md5 | ) |  [inline] | 
Definition at line 549 of file P_HostDBProcessor.h.
References MultiCacheHeader::buckets, fold_md5(), MultiCacheBase::partition_of_bucket(), and pending_dns.
Referenced by HostDBContinuation::dnsPendingEvent(), HostDBContinuation::remove_trigger_pending_dns(), and HostDBContinuation::set_check_pending_dns().
| int HostDBCache::rebuild_callout | ( | HostDBInfo * | e, | |
| RebuildMC & | r | |||
| ) |  [virtual] | 
Reimplemented from MultiCache< HostDBInfo >.
Definition at line 199 of file HostDB.cc.
References HostDBInfo::app, ats_is_ip(), corrupt_debugging_callout(), HostDBInfo::data, HostDBRoundRobin::good, HOST_DB_MAX_ROUND_ROBIN_INFO, HostDBInfo::hostname_offset, HostDBRoundRobin::info, HostDBInfo::ip, HostDBInfo::is_ip_timeout(), HostDBInfo::md5_high, HostDBInfo::md5_low, HostDBInfo::md5_low_low, HostDBApplicationInfo::application_data_rr::offset, RebuildMC::partition, MultiCacheBase::ptr(), HostDBInfo::reverse_dns, HostDBInfo::round_robin, HostDBApplicationInfo::rr, HostDBRoundRobin::rrcount, MultiCacheBase::valid_heap_pointer(), and MultiCacheBase::valid_offset().
| int HostDBCache::start | ( | int | flags = 0 | ) | 
Definition at line 365 of file HostDB.cc.
References Store::add(), Debug, Layout::get(), hostdb_bytes_stat, hostdb_enable, hostdb_filename, HOSTDB_SET_DYN_COUNT, hostdb_size, hostdb_srv_enabled, Span::init(), ink_strlcpy(), Note, MultiCacheBase::open(), PATH_NAME_MAX, REC_ReadConfigInt32, REC_ReadConfigString, RecConfigReadRuntimeDir(), Layout::relative_to(), MultiCacheHeader::totalsize, and Warning.
Referenced by cmd_check_internal(), cmd_clear(), and HostDBProcessor::start().
| Queue<HostDBContinuation, Continuation::Link_link> HostDBCache::pending_dns[MULTI_CACHE_PARTITIONS] | 
Definition at line 213 of file P_HostDBProcessor.h.
Referenced by pending_dns_for_hash().
 1.7.1
 1.7.1