summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2023-04-05 14:34:52 +0200
committerTor Egge <Tor.Egge@online.no>2023-04-05 14:34:52 +0200
commitc6a9cd404299622a2b039f087afc3ecf28f26b6d (patch)
tree20f64890840b7d5d3bec50d1b2c267f12fd069fb /vespalib
parente71213a0dff7424ca2b84c86899146fcdfd72566 (diff)
Adjust BufferState member function comments.
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/datastore/bufferstate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vespalib/src/vespa/vespalib/datastore/bufferstate.h b/vespalib/src/vespa/vespalib/datastore/bufferstate.h
index 299219c168b..f714f8e24d5 100644
--- a/vespalib/src/vespa/vespalib/datastore/bufferstate.h
+++ b/vespalib/src/vespa/vespalib/datastore/bufferstate.h
@@ -65,7 +65,7 @@ public:
* @param bufferId Id of buffer to be active.
* @param typeId Registered data type id for buffer.
* @param typeHandler Type handler for registered data type.
- * @param free_entries_needed Number of elements needed to be free in the memory allocated.
+ * @param free_entries_needed Number of entries needed to be free in the memory allocated.
* @param buffer Start of allocated buffer return value.
*/
void on_active(uint32_t bufferId, uint32_t typeId, BufferTypeBase *typeHandler,
@@ -88,7 +88,7 @@ public:
void disable_entry_hold_list();
/**
- * Update stats to reflect that the given elements are put on hold.
+ * Update stats to reflect that the given entries are put on hold.
* Returns true if entry hold list is disabled for this buffer.
*/
bool hold_entries(size_t num_entries, size_t extra_bytes);