Home | History | Annotate | Download | only in dns

Lines Matching defs:HostCache

17 HostCache::Entry::Entry(int error, const AddressList& addrlist,
25 HostCache::Entry::Entry(int error, const AddressList& addrlist)
31 HostCache::Entry::~Entry() {
36 HostCache::HostCache(size_t max_entries)
40 HostCache::~HostCache() {
43 const HostCache::Entry* HostCache::Lookup(const Key& key,
52 void HostCache::Set(const Key& key,
63 void HostCache::clear() {
68 size_t HostCache::size() const {
73 size_t HostCache::max_entries() const {
79 const HostCache::EntryMap& HostCache::entries() const {
85 scoped_ptr<HostCache> HostCache::CreateDefaultCache() {
98 return make_scoped_ptr(new HostCache(max_entries));
101 void HostCache::EvictionHandler::Handle(