@Deprecated public class ExclusiveBufferClaim extends BufferClaim
ExclusiveBufferClaim
use should be replaced with BufferClaim
.
The claimed space is in BufferClaim.buffer()
between BufferClaim.offset()
and BufferClaim.offset()
+ BufferClaim.length()
.
When the buffer is filled with message data, use BufferClaim.commit()
to make it available to subscribers.
If the claimed space is no longer required it can be aborted by calling BufferClaim.abort()
.
buffer
Constructor and Description |
---|
ExclusiveBufferClaim()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ExclusiveBufferClaim |
flags(byte flags)
Deprecated.
Set the value of the header flags field.
|
ExclusiveBufferClaim |
headerType(int type)
Deprecated.
Set the value of the header type field.
|
ExclusiveBufferClaim |
reservedValue(long value)
Deprecated.
Write the provided value into the reserved space at the end of the data frame header.
|
abort, buffer, commit, flags, headerType, length, offset, putBytes, reservedValue, wrap
public ExclusiveBufferClaim reservedValue(long value)
Note: The value will be written in ByteOrder.LITTLE_ENDIAN
format.
reservedValue
in class BufferClaim
value
- to be stored in the reserve space at the end of a data frame header.DataHeaderFlyweight
public ExclusiveBufferClaim flags(byte flags)
flags
in class BufferClaim
flags
- value to be set in the header.DataHeaderFlyweight
public ExclusiveBufferClaim headerType(int type)
headerType
in class BufferClaim
type
- value to be set in the header.DataHeaderFlyweight
Copyright © 2014-2018 Real Logic Ltd. All Rights Reserved.