summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
authorKim van der Riet <kpvdr@apache.org>2010-09-21 15:50:41 +0000
committerKim van der Riet <kpvdr@apache.org>2010-09-21 15:50:41 +0000
commit81414cc0fb52efbd77e3e3bc83ed0c5dcb7fe83a (patch)
tree08826c1a6a200a616e69164888399952cf7112ce /qpid/cpp
parentf6a3c31e03365e44076e67291b9e3c2aa9eb1a86 (diff)
downloadqpid-python-81414cc0fb52efbd77e3e3bc83ed0c5dcb7fe83a.tar.gz
Renamed the MessageStore interface truncateInit parameter to a more generic name. Changed the language of the description to match. This is a tidy-up only, there should be no code implications.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@999473 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/src/qpid/broker/MessageStore.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/qpid/cpp/src/qpid/broker/MessageStore.h b/qpid/cpp/src/qpid/broker/MessageStore.h
index 143e860ec7..ab0225ef6b 100644
--- a/qpid/cpp/src/qpid/broker/MessageStore.h
+++ b/qpid/cpp/src/qpid/broker/MessageStore.h
@@ -47,15 +47,17 @@ class MessageStore : public TransactionalStore, public Recoverable {
/**
* If called after initialization but before recovery, will discard the database
- * and reinitialize using an empty store dir. If the parameter pushDownStoreFiles
- * is true, the content of the store dir will be moved to a backup dir inside the
- * store dir. This is used when cluster nodes recover and must get thier content
- * from a cluster sync rather than directly fromt the store.
+ * content and reinitialize as though it were a new installation. If the parameter
+ * saveStoreContent is true, the content of the store will be saved in such a way
+ * that the truncate can be reversed. This is used when cluster nodes recover and
+ * must get their content from a cluster sync rather than directly from the store.
*
- * @param pushDownStoreFiles If true, will move content of the store dir into a
- * subdir, leaving the store dir otherwise empty.
+ * @param saveStoreContent If true, will move content of the store to a backup
+ * location where they may be restored later if needed. It is
+ * not necessary to save more than one prior version of the
+ * store.
*/
- virtual void truncateInit(const bool pushDownStoreFiles = false) = 0;
+ virtual void truncateInit(const bool saveStoreContent = false) = 0;
/**
* Record the existence of a durable queue