|
@@ -76,6 +76,8 @@ public:
|
|
|
/// \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.
|
|
|
///
|
|
@@ -84,6 +86,8 @@ public:
|
|
|
|
|
|
/// \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.
|
|
|
///
|
|
|
/// \return The current number of cache slots.
|