Class ExecuteCommandRequest
java.lang.Object
io.camunda.zeebe.test.broker.protocol.commandapi.ExecuteCommandRequest
- All Implemented Interfaces:
ClientRequest,BufferWriter
-
Constructor Summary
ConstructorsConstructorDescriptionExecuteCommandRequest(ClientTransport output, String targetAddress, MsgPackHelper msgPackHelper) -
Method Summary
Modifier and TypeMethodDescriptionawait()command(BufferWriter command) intintkey(long key) partitionId(int partitionId) send()setAuthorization(AuthInfo authorization) voidwrite(org.agrona.MutableDirectBuffer buffer, int offset)
-
Constructor Details
-
ExecuteCommandRequest
public ExecuteCommandRequest(ClientTransport output, String targetAddress, MsgPackHelper msgPackHelper)
-
-
Method Details
-
partitionId
-
key
-
valueType
-
intent
-
getAuthorization
-
setAuthorization
-
command
-
command
-
send
-
await
-
getPartitionId
public int getPartitionId()- Specified by:
getPartitionIdin interfaceClientRequest
-
getRequestType
- Specified by:
getRequestTypein interfaceClientRequest
-
getLength
public int getLength()- Specified by:
getLengthin interfaceBufferWriter
-
write
public void write(org.agrona.MutableDirectBuffer buffer, int offset) - Specified by:
writein interfaceBufferWriter
-