BIND 10 trac2207, updated. c1e16071d91f9db0b3f78f7a09551c66278ace5e [2207] Documentation update

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Oct 19 17:09:20 UTC 2012


The branch, trac2207 has been updated
       via  c1e16071d91f9db0b3f78f7a09551c66278ace5e (commit)
      from  451973cb26da61f3e5d56c441ea54a28c34acaa3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c1e16071d91f9db0b3f78f7a09551c66278ace5e
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Fri Oct 19 19:09:07 2012 +0200

    [2207] Documentation update

-----------------------------------------------------------------------

Summary of changes:
 src/lib/datasrc/memory/zone_table_segment.h |    3 ++-
 src/lib/datasrc/memory/zone_writer.h        |    5 +++++
 2 files changed, 7 insertions(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/memory/zone_table_segment.h b/src/lib/datasrc/memory/zone_table_segment.h
index 74a3295..8731718 100644
--- a/src/lib/datasrc/memory/zone_table_segment.h
+++ b/src/lib/datasrc/memory/zone_table_segment.h
@@ -138,7 +138,8 @@ public:
     /// \param origin The origin of the zone to reload.
     /// \param rrclass The class of the zone to reload.
     /// \return New instance of a zone writer. The ownership is passed
-    ///     onto the caller.
+    ///     onto the caller and the caller needs to \c delete it when
+    ///     it's done with the writer.
     virtual ZoneWriter* getZoneWriter(const LoadAction& load_action,
                                       const dns::Name& origin,
                                       const dns::RRClass& rrclass) = 0;
diff --git a/src/lib/datasrc/memory/zone_writer.h b/src/lib/datasrc/memory/zone_writer.h
index 8d19473..fe8dc2a 100644
--- a/src/lib/datasrc/memory/zone_writer.h
+++ b/src/lib/datasrc/memory/zone_writer.h
@@ -30,6 +30,11 @@ namespace memory {
 /// We divide them so the update of zone data can be done asynchronously,
 /// in a different thread. The install() operation is the only one that needs
 /// to be done in a critical section.
+///
+/// Each derived class implementation must provide the strong exception
+/// guarantee for each public method. That is, when any of the methods
+/// throws, the entire state should stay the same as before the call
+/// (how to achieve that may be implementation dependant).
 class ZoneWriter {
 public:
     /// \brief Get the zone data into memory.



More information about the bind10-changes mailing list