Class BrokerExecuteCommand<T>

java.lang.Object
io.camunda.zeebe.broker.client.api.dto.BrokerRequest<T>
io.camunda.zeebe.broker.client.api.dto.BrokerExecuteCommand<T>
All Implemented Interfaces:
ClientRequest, BufferWriter

public abstract class BrokerExecuteCommand<T> extends BrokerRequest<T>
  • Field Details

  • Constructor Details

    • BrokerExecuteCommand

      public BrokerExecuteCommand(ValueType valueType, Intent intent)
  • Method Details

    • getKey

      public long getKey()
    • getIntent

      public Intent getIntent()
    • getValueType

      public ValueType getValueType()
    • getPartitionId

      public int getPartitionId()
    • setPartitionId

      public void setPartitionId(int partitionId)
      Specified by:
      setPartitionId in class BrokerRequest<T>
    • getRequestType

      public RequestType getRequestType()
    • getAuthorization

      public AuthInfo getAuthorization()
    • setAuthorization

      public void setAuthorization(String authorizationToken)
      Overrides:
      setAuthorization in class BrokerRequest<T>
    • addressesSpecificPartition

      public boolean addressesSpecificPartition()
      Specified by:
      addressesSpecificPartition in class BrokerRequest<T>
    • requiresPartitionId

      public boolean requiresPartitionId()
      Specified by:
      requiresPartitionId in class BrokerRequest<T>
    • setSerializedValue

      protected void setSerializedValue(org.agrona.DirectBuffer buffer)
      Specified by:
      setSerializedValue in class BrokerRequest<T>
    • wrapResponse

      protected void wrapResponse(org.agrona.DirectBuffer buffer)
      Specified by:
      wrapResponse in class BrokerRequest<T>
    • readResponse

      protected BrokerResponse<T> readResponse()
      Specified by:
      readResponse in class BrokerRequest<T>
    • getType

      public String getType()
      Specified by:
      getType in class BrokerRequest<T>
    • getLength

      public int getLength()
    • write

      public void write(org.agrona.MutableDirectBuffer buffer, int offset)
    • isValidResponse

      protected boolean isValidResponse()
    • isRejection

      protected boolean isRejection()
    • getOperationReference

      public long getOperationReference()
    • setOperationReference

      public void setOperationReference(long operationReference)