![]() |
MySQL 9.7.0
Source Code Documentation
|
#include <host_cache.h>
Classes | |
| class | HostCacheImpl |
Public Member Functions | |
| HostCache (std::shared_ptr< HostCacheConfig > config) | |
| ~HostCache () override | |
| ResolveHostResult | resolve_host (const std::string &hostname, CachePolicy cache_policy=CachePolicy::UseIfPresent) override |
| std::shared_ptr< HostCacheStatisticsComponent > | get_statistics () const |
Public Member Functions inherited from mysql_harness::resolver::ResolverInterface | |
| virtual | ~ResolverInterface ()=default |
Private Attributes | |
| std::shared_ptr< HostCacheImpl > | impl_ |
Additional Inherited Members | |
Public Types inherited from mysql_harness::resolver::ResolverInterface | |
| using | ResolveHostResult = ::mysql_harness::resolver::ResolveHostResult |
| using | CachePolicy = ::mysql_harness::resolver::CachePolicy |
| HostCache::HostCache | ( | std::shared_ptr< HostCacheConfig > | config | ) |
|
overridedefault |
| std::shared_ptr< HostCacheStatisticsComponent > HostCache::get_statistics | ( | ) | const |
|
overridevirtual |
Implements mysql_harness::resolver::ResolverInterface.
|
private |