Package io.aeron.command
Class OperationSucceededFlyweight
java.lang.Object
io.aeron.command.OperationSucceededFlyweight
Indicate a given operation is done and has succeeded.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongThe correlation id field.correlationId(long correlationId) Set the correlation id field.wrap(MutableDirectBuffer buffer, int offset) Wrap the buffer at a given offset for updates.
-
Field Details
-
LENGTH
public static final int LENGTHLength of the header.- See Also:
-
-
Constructor Details
-
OperationSucceededFlyweight
public OperationSucceededFlyweight()
-
-
Method Details
-
wrap
Wrap the buffer at a given offset for updates.- Parameters:
buffer- to wrap.offset- at which the message begins.- Returns:
- this for a fluent API.
-
correlationId
public long correlationId()The correlation id field.- Returns:
- correlation id field.
-
correlationId
Set the correlation id field.- Parameters:
correlationId- field value.- Returns:
- this for a fluent API.
-