Insert the specified handle at the front of this record buffer.

Synopsis

Declared in <ball_recordbuffer.h>

virtual
int
pushFront(bsl::shared_ptr<Record> const& handle) = 0;

Description

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).

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

handle

record handle to insert at the front

Created with MrDocs