[svn] commit: r2960 - /branches/trac308/src/bin/auth/auth_srv.h
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Sep 17 05:49:26 UTC 2010
Author: jinmei
Date: Fri Sep 17 05:49:26 2010
New Revision: 2960
Log:
added description about what happens with set/getCacheSlots when the cache is disabled.
Modified:
branches/trac308/src/bin/auth/auth_srv.h
Modified: branches/trac308/src/bin/auth/auth_srv.h
==============================================================================
--- branches/trac308/src/bin/auth/auth_srv.h (original)
+++ branches/trac308/src/bin/auth/auth_srv.h Fri Sep 17 05:49:26 2010
@@ -76,6 +76,8 @@
/// \brief Set or update the size (number of slots) of hot spot cache.
///
/// If the specified size is 0, it means the size will be unlimited.
+ /// The specified size is recorded even if the cache is disabled; the
+ /// new size will be effective when the cache is enabled.
///
/// This method never throws an exception.
///
@@ -83,6 +85,8 @@
void setCacheSlots(const size_t slots);
/// \brief Get the current size (number of slots) of hot spot cache.
+ ///
+ /// It always returns the recorded size regardless of the cache is enabled.
///
/// This method never throws an exception.
///
More information about the bind10-changes
mailing list