BIND 10 #2907: add ConfigurableClientList::getZoneTableAccessor method

BIND 10 Development do-not-reply at isc.org
Wed May 1 21:18:03 UTC 2013


#2907: add ConfigurableClientList::getZoneTableAccessor method
-------------------------------------+-------------------------------------
            Reporter:  jinmei        |                        Owner:
                Type:  task          |                       Status:  new
            Priority:  medium        |                    Milestone:
           Component:  data source   |  Sprint-20130514
            Keywords:                |                   Resolution:
           Sensitive:  0             |                 CVSS Scoring:
         Sub-Project:  DNS           |              Defect Severity:  N/A
Estimated Difficulty:  3             |  Feature Depending on Ticket:
         Total Hours:  0             |  shared memory data source
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
Description changed by jinmei:

Old description:

> Subtask of #2830, depend on #2906.
>
> This is a simple addition to the `ConfigurableClientList` class:
>
> {{{#!cpp
> class ConfigurableClientList {
> public:
>     shared_ptr<const ZoneTableAccessor> getZoneTable(const std::string&
> datasrc_name,
>                                                      bool use_cache);
> };
> }}}
>
> It creates a `ZoneTable` object for the specified data source and
> returns it.  If `use_cache` is true, create a zone table for in-memory
> cache (and consider error handling in case the cache is disabled for
> the data source).

New description:

 Subtask of #2830, depend on #2906.

 This is a simple addition to the `ConfigurableClientList` class:

 {{{#!cpp
 class ConfigurableClientList {
 public:
     shared_ptr<const ZoneTableAccessor>
     getZoneTableAccessor(const std::string& datasrc_name, bool use_cache)
 const;
 };
 }}}

 It creates a `ZoneTable` object for the specified data source and
 returns it.  If `use_cache` is true, create a zone table for in-memory
 cache (and consider error handling in case the cache is disabled for
 the data source).

--

-- 
Ticket URL: <http://bind10.isc.org/ticket/2907#comment:5>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list