public class PublicationBuffersReadyFlyweight
extends java.lang.Object
Constructor and Description |
---|
PublicationBuffersReadyFlyweight() |
Modifier and Type | Method and Description |
---|---|
int |
channelStatusCounterId()
The channel status counter id.
|
PublicationBuffersReadyFlyweight |
channelStatusCounterId(int counterId)
Set channel status counter id field
|
long |
correlationId()
Get the correlation id field
|
PublicationBuffersReadyFlyweight |
correlationId(long correlationId)
Set the correlation id field
|
int |
length()
Get the length of the current message
|
java.lang.String |
logFileName()
Get the log file name in ASCII.
|
PublicationBuffersReadyFlyweight |
logFileName(java.lang.String logFileName)
Set the log file name in ASCII.
|
int |
publicationLimitCounterId()
The publication limit counter id.
|
PublicationBuffersReadyFlyweight |
publicationLimitCounterId(int positionCounterId)
set position counter id field
|
long |
registrationId()
Get the registration id field.
|
PublicationBuffersReadyFlyweight |
registrationId(long registrationId)
Set the correlation id field
|
int |
sessionId()
Get the session id field
|
PublicationBuffersReadyFlyweight |
sessionId(int sessionId)
Set the session id field
|
int |
streamId()
Get the stream id field
|
PublicationBuffersReadyFlyweight |
streamId(int streamId)
Set the stream id field
|
PublicationBuffersReadyFlyweight |
wrap(org.agrona.MutableDirectBuffer buffer,
int offset)
Wrap the buffer at a given offset for updates.
|
public final PublicationBuffersReadyFlyweight wrap(org.agrona.MutableDirectBuffer buffer, int offset)
buffer
- to wrapoffset
- at which the message begins.public long correlationId()
public PublicationBuffersReadyFlyweight correlationId(long correlationId)
correlationId
- field valuepublic long registrationId()
public PublicationBuffersReadyFlyweight registrationId(long registrationId)
registrationId
- field valuepublic int sessionId()
public PublicationBuffersReadyFlyweight sessionId(int sessionId)
sessionId
- field valuepublic int streamId()
public PublicationBuffersReadyFlyweight streamId(int streamId)
streamId
- field valuepublic int publicationLimitCounterId()
public PublicationBuffersReadyFlyweight publicationLimitCounterId(int positionCounterId)
positionCounterId
- field valuepublic int channelStatusCounterId()
public PublicationBuffersReadyFlyweight channelStatusCounterId(int counterId)
counterId
- field valuepublic java.lang.String logFileName()
public PublicationBuffersReadyFlyweight logFileName(java.lang.String logFileName)
logFileName
- for the publication buffers.public int length()
NB: must be called after the data is written in order to be accurate.
Copyright © 2014-2018 Real Logic Ltd. All Rights Reserved.