Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
7d1a2ca8
Commit
7d1a2ca8
authored
May 06, 2013
by
Mukund Sivaraman
Browse files
[2850] Don't use the term "load" when describing what reset() does
parent
ad233427
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/datasrc/memory/zone_table_segment.h
View file @
7d1a2ca8
...
...
@@ -198,24 +198,23 @@ public:
READ_ONLY
};
/// \brief
Unload
the current memory store (if
loaded
) and
load
the
/// \brief
Close
the current memory store (if
open
) and
open
the
/// specified one.
///
/// In case opening/loading the new memory store fails for some
/// reason, one of the following documented (further below)
/// exceptions may be thrown. In case failures occur,
/// implementations of this method must strictly provide the
/// associated behavior as follows, and in the exception
/// documentation below. Code that uses \c ZoneTableSegment would
/// depend on such assurances.
/// In case opening the new memory store fails for some reason, one
/// of the following documented (further below) exceptions may be
/// thrown. In case failures occur, implementations of this method
/// must strictly provide the associated behavior as follows, and in
/// the exception documentation below. Code that uses
/// \c ZoneTableSegment would depend on such assurances.
///
/// In case an existing memory store is in use, and an attempt to
///
load
a different memory store fails, the existing memory store
///
open
a different memory store fails, the existing memory store
/// must still be available and the \c ResetFailed exception must be
/// thrown. In this case, the segment is still usable.
///
/// In case an existing memory store is in use, and an attempt is
/// made to re
load
the same memory store which results in a failure,
/// made to re
open
the same memory store which results in a failure,
/// the existing memory store must no longer be available and the
/// \c ResetFailedAndSegmentCleared exception must be thrown. In
/// this case, the segment is no longer usable without a further
...
...
@@ -233,13 +232,13 @@ public:
/// has incorrect syntax, but the segment is still usable due to the
/// old memory store still being in use.
///
/// \throw ResetFailed if there was a problem in
load
ing the new
/// \throw ResetFailed if there was a problem in
open
ing the new
/// memory store, but the segment is still usable due to the old
/// memory store still being in use.
///
/// \throw ResetFailedAndSegmentCleared if there was a problem in
///
load
ing the new memory store, but the old memory store was also
///
unload
ed and is no longer in use. The segment is not usable
///
open
ing the new memory store, but the old memory store was also
///
clos
ed and is no longer in use. The segment is not usable
/// without a further successful \c reset().
///
/// \param mode The open mode (see the MemorySegmentOpenMode
...
...
@@ -249,9 +248,9 @@ public:
virtual
void
reset
(
MemorySegmentOpenMode
mode
,
isc
::
data
::
ConstElementPtr
params
)
=
0
;
/// \brief
Unload
the current memory store (if
loaded
).
/// \brief
Close
the current memory store (if
open
).
///
/// Implementations of this method should
unload
any current memory
/// Implementations of this method should
close
any current memory
/// store and reset the `ZoneTableSegment` to a freshly constructed
/// state.
///
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment