|
@@ -819,9 +819,9 @@ public:
|
|
/// \c ZoneUpdater implementation.
|
|
/// \c ZoneUpdater implementation.
|
|
///
|
|
///
|
|
/// The behavior of the RRsetCollection is similar to the behavior
|
|
/// The behavior of the RRsetCollection is similar to the behavior
|
|
- /// of the \c Zonefinder returned by \c getFinder() with regards to
|
|
+ /// of the \c Zonefinder returned by \c getFinder().
|
|
- /// adding and deleting RRsets via \c addRRset() and \c
|
|
+ /// Implementations of \c ZoneUpdater may not allow adding or
|
|
- /// deleteRRset().
|
|
+ /// deleting RRsets after \c getRRsetCollection() is called.
|
|
virtual isc::datasrc::RRsetCollectionBase& getRRsetCollection() = 0;
|
|
virtual isc::datasrc::RRsetCollectionBase& getRRsetCollection() = 0;
|
|
|
|
|
|
/// Add an RRset to a zone via the updater
|
|
/// Add an RRset to a zone via the updater
|
|
@@ -871,6 +871,10 @@ public:
|
|
/// calls after \c commit() the implementation must throw a
|
|
/// calls after \c commit() the implementation must throw a
|
|
/// \c DataSourceError exception.
|
|
/// \c DataSourceError exception.
|
|
///
|
|
///
|
|
|
|
+ /// Implementations of \c ZoneUpdater may not allow adding or
|
|
|
|
+ /// deleting RRsets after \c getRRsetCollection() is called. In this
|
|
|
|
+ /// case, implementations throw an \c InvalidOperation exception.
|
|
|
|
+ ///
|
|
/// If journaling was requested when getting this updater, it will reject
|
|
/// If journaling was requested when getting this updater, it will reject
|
|
/// to add the RRset if the squence doesn't look like and IXFR (see
|
|
/// to add the RRset if the squence doesn't look like and IXFR (see
|
|
/// DataSourceClient::getUpdater). In such case isc::BadValue is thrown.
|
|
/// DataSourceClient::getUpdater). In such case isc::BadValue is thrown.
|
|
@@ -942,6 +946,10 @@ public:
|
|
/// calls after \c commit() the implementation must throw a
|
|
/// calls after \c commit() the implementation must throw a
|
|
/// \c DataSourceError exception.
|
|
/// \c DataSourceError exception.
|
|
///
|
|
///
|
|
|
|
+ /// Implementations of \c ZoneUpdater may not allow adding or
|
|
|
|
+ /// deleting RRsets after \c getRRsetCollection() is called. In this
|
|
|
|
+ /// case, implementations throw an \c InvalidOperation exception.
|
|
|
|
+ ///
|
|
/// If journaling was requested when getting this updater, it will reject
|
|
/// If journaling was requested when getting this updater, it will reject
|
|
/// to add the RRset if the squence doesn't look like and IXFR (see
|
|
/// to add the RRset if the squence doesn't look like and IXFR (see
|
|
/// DataSourceClient::getUpdater). In such case isc::BadValue is thrown.
|
|
/// DataSourceClient::getUpdater). In such case isc::BadValue is thrown.
|