[#BloombergLP-ball-RecordBuffer-pushFront] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/RecordBuffer.adoc[RecordBuffer]::pushFront :relfileprefix: ../../../ :mrdocs: Insert the specified `handle` at the front of this record buffer. Return 0 on success, and a non‐zero value otherwise. Note that concrete implementations are permitted to remove records from the buffer in order to attempt to accommodate a `pushFront` request (which implies that, after a successful call to `pushFront`, `length` is not guaranteed to be more than one, and an unsuccessful call to `pushFront` is permitted to leave the buffer empty). == Synopsis Declared in `<ball_recordbuffer.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual int pushFront(xref:bsl/shared_ptr-0a.adoc[bsl::shared_ptr<Record>] const& handle) = 0; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#