public class TermRebuilder extends Object
| Constructor and Description |
|---|
TermRebuilder() |
| Modifier and Type | Method and Description |
|---|---|
static void |
insert(UnsafeBuffer termBuffer,
int termOffset,
UnsafeBuffer packet,
int length)
Insert a packet of frames into the log at the appropriate termOffset as indicated by the term termOffset header.
|
public static void insert(UnsafeBuffer termBuffer, int termOffset, UnsafeBuffer packet, int length)
If the packet has already been inserted then this is a noop.
termBuffer - into which the packet should be inserted.termOffset - in the term at which the packet should be inserted.packet - containing a sequence of frames.length - of the packet of frames in bytes.Copyright © 2014-2020 Real Logic Limited. All Rights Reserved.