public class TermRebuilder
extends java.lang.Object
| Constructor and Description |
|---|
TermRebuilder() |
| Modifier and Type | Method and Description |
|---|---|
static void |
insert(org.agrona.concurrent.UnsafeBuffer termBuffer,
int termOffset,
org.agrona.concurrent.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(org.agrona.concurrent.UnsafeBuffer termBuffer,
int termOffset,
org.agrona.concurrent.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-2018 Real Logic Ltd. All Rights Reserved.