diff options
author | Kim van der Riet <kpvdr@apache.org> | 2010-09-21 15:50:41 +0000 |
---|---|---|
committer | Kim van der Riet <kpvdr@apache.org> | 2010-09-21 15:50:41 +0000 |
commit | 449ab0f1062c0eac0234f84556de60436ba2ee9d (patch) | |
tree | d8cead6eb3164613a01558f7f0f88ac86d76f1e3 | |
parent | 74e92d832b098f884ba2ac31e2903b0aa05f5264 (diff) | |
download | qpid-python-449ab0f1062c0eac0234f84556de60436ba2ee9d.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/qpid@999473 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | cpp/src/qpid/broker/MessageStore.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/cpp/src/qpid/broker/MessageStore.h b/cpp/src/qpid/broker/MessageStore.h index 143e860ec7..ab0225ef6b 100644 --- a/cpp/src/qpid/broker/MessageStore.h +++ b/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 |