public final class BroadcastBufferDescriptor extends Object
Modifier and Type | Field and Description |
---|---|
static int |
LATEST_COUNTER_OFFSET
Offset within the trailer for where the latest sequence value is stored.
|
static int |
TAIL_COUNTER_OFFSET
Offset within the trailer for where the tail value is stored.
|
static int |
TAIL_INTENT_COUNTER_OFFSET
Offset within the trailer for where the tail intended value is stored.
|
static int |
TRAILER_LENGTH
Total size of the trailer
|
Modifier and Type | Method and Description |
---|---|
static void |
checkCapacity(int capacity)
Check the the buffer capacity is the correct size.
|
public static final int TAIL_INTENT_COUNTER_OFFSET
public static final int TAIL_COUNTER_OFFSET
public static final int LATEST_COUNTER_OFFSET
public static final int TRAILER_LENGTH
public static void checkCapacity(int capacity)
capacity
- to be checked.IllegalStateException
- if the buffer capacity is not a power of 2.Copyright © 2014-2020 Real Logic Limited. All Rights Reserved.