| Zonemaster::Engine::Nameserver::Cache(3pm) | User Contributed Perl Documentation | Zonemaster::Engine::Nameserver::Cache(3pm) |
Zonemaster::Engine::Nameserver::Cache - shared caches for nameserver objects
This class should not be used directly.
my $cache_type = get_cache_type( Zonemaster::Engine::Profile->effective );
Get the cache type value from the profile, i.e. the name of the cache module to use.
Takes a Zonemaster::Engine::Profile object.
Returns a string.
my $cache_class = get_cache_class( 'LocalCache' );
Get the cache adapter class for the given database type.
Takes a string (cache database type).
Returns a string, or throws an exception if the cache adapter class cannot be loaded.
| 2025-03-21 | perl v5.40.1 |