Class RecordMetadata
java.lang.Object
io.camunda.zeebe.protocol.impl.record.RecordMetadata
- All Implemented Interfaces:
BufferReader,BufferWriter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorization(AuthInfo authorization) authorization(org.agrona.DirectBuffer buffer) brokerVersion(VersionInfo brokerVersion) booleanintlongintintlongintinthashCode()operationReference(long operationReference) protocolVersion(int protocolVersion) recordType(RecordType recordType) recordVersion(int recordVersion) rejectionReason(String rejectionReason) rejectionReason(org.agrona.DirectBuffer buffer) rejectionType(RejectionType rejectionType) requestId(long requestId) requestStreamId(int requestStreamId) reset()toString()voidwrap(org.agrona.DirectBuffer buffer, int offset, int length) voidwrite(org.agrona.MutableDirectBuffer buffer, int offset) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.camunda.zeebe.util.buffer.BufferReader
copyFrom
-
Field Details
-
BLOCK_LENGTH
public static final int BLOCK_LENGTH- See Also:
-
DEFAULT_RECORD_VERSION
public static final int DEFAULT_RECORD_VERSION- See Also:
-
CURRENT_BROKER_VERSION
-
-
Constructor Details
-
RecordMetadata
public RecordMetadata()
-
-
Method Details
-
wrap
public void wrap(org.agrona.DirectBuffer buffer, int offset, int length) - Specified by:
wrapin interfaceBufferReader
-
getLength
public int getLength()- Specified by:
getLengthin interfaceBufferWriter
-
write
public void write(org.agrona.MutableDirectBuffer buffer, int offset) - Specified by:
writein interfaceBufferWriter
-
getRequestId
public long getRequestId() -
requestId
-
getRequestStreamId
public int getRequestStreamId() -
requestStreamId
-
protocolVersion
-
getProtocolVersion
public int getProtocolVersion() -
getValueType
-
valueType
-
intent
-
getIntent
-
recordType
-
getRecordType
-
rejectionType
-
getRejectionType
-
rejectionReason
-
rejectionReason
-
getRejectionReason
-
authorization
-
authorization
-
getAuthorization
-
brokerVersion
-
getBrokerVersion
-
recordVersion
-
getRecordVersion
public int getRecordVersion() -
operationReference
-
getOperationReference
public long getOperationReference() -
reset
-
hashCode
public int hashCode() -
equals
-
toString
-