aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/vespa/vespalib/datastore/bufferstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'vespalib/src/vespa/vespalib/datastore/bufferstate.h')
-rw-r--r--vespalib/src/vespa/vespalib/datastore/bufferstate.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/vespalib/src/vespa/vespalib/datastore/bufferstate.h b/vespalib/src/vespa/vespalib/datastore/bufferstate.h
index e95bef6f459..f8738f17daa 100644
--- a/vespalib/src/vespa/vespalib/datastore/bufferstate.h
+++ b/vespalib/src/vespa/vespalib/datastore/bufferstate.h
@@ -99,7 +99,7 @@ public:
/**
* Transition from ACTIVE to HOLD state.
*/
- void onHold(uint32_t buffer_id);
+ void onHold();
/**
* Transition from HOLD to FREE state.
@@ -157,7 +157,7 @@ public:
void cleanHold(void *buffer, size_t offset, ElemCount numElems) {
_typeHandler->cleanHold(buffer, offset, numElems, BufferTypeBase::CleanContext(_extraUsedBytes, _extraHoldBytes));
}
- void dropBuffer(uint32_t buffer_id, void *&buffer);
+ void dropBuffer(void *&buffer);
uint32_t getTypeId() const { return _typeId; }
uint32_t getArraySize() const { return _arraySize; }
size_t getDeadElems() const { return _deadElems; }
@@ -192,7 +192,6 @@ public:
FreeList &freeList() { return _freeList; }
const FreeListList *freeListList() const { return _freeListList; }
FreeListList *freeListList() { return _freeListList; }
- void resume_primary_buffer(uint32_t buffer_id);
};