public class CounterUpdateFlyweight extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
LENGTH
Length of the header.
|
| Constructor and Description |
|---|
CounterUpdateFlyweight() |
| Modifier and Type | Method and Description |
|---|---|
long |
correlationId()
Get the correlation id field.
|
CounterUpdateFlyweight |
correlationId(long correlationId)
Set the correlation id field.
|
int |
counterId()
The counter id.
|
CounterUpdateFlyweight |
counterId(int counterId)
Set counter id field
|
CounterUpdateFlyweight |
wrap(MutableDirectBuffer buffer,
int offset)
Wrap the buffer at a given offset for updates.
|
public static final int LENGTH
public final CounterUpdateFlyweight wrap(MutableDirectBuffer buffer, int offset)
buffer - to wrapoffset - at which the message begins.public long correlationId()
public CounterUpdateFlyweight correlationId(long correlationId)
correlationId - field value.public int counterId()
public CounterUpdateFlyweight counterId(int counterId)
counterId - field valueCopyright © 2014-2020 Real Logic Limited. All Rights Reserved.