public class CounterUpdateFlyweight
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
LENGTH |
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(org.agrona.MutableDirectBuffer buffer,
int offset)
Wrap the buffer at a given offset for updates.
|
public static final int LENGTH
public final CounterUpdateFlyweight wrap(org.agrona.MutableDirectBuffer buffer, int offset)
buffer
- to wrapoffset
- at which the message begins.public long correlationId()
public CounterUpdateFlyweight correlationId(long correlationId)
correlationId
- field valuepublic int counterId()
public CounterUpdateFlyweight counterId(int counterId)
counterId
- field valueCopyright © 2014-2018 Real Logic Ltd. All Rights Reserved.