[#BloombergLP-ball-FixedSizeRecordBuffer-beginSequence]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/FixedSizeRecordBuffer.adoc[FixedSizeRecordBuffer]::beginSequence
:relfileprefix: ../../../
:mrdocs:

_Lock_ this record buffer for an uninterrupted sequence of calls&period;

== Synopsis

Declared in `&lt;ball&lowbar;fixedsizerecordbuffer&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
beginSequence() override;
----

== Description

_Lock_ this record buffer so that a sequence of method invocations on this record buffer can occur uninterrupted by other threads&period; The buffer will remain _locked_ until `endSequence` is called&period; It is valid to invoke other methods on this record buffer between the calls to `beginSequence` and `endSequence` (the implementation guarantees this by employing a recursive mutex)&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
