Class CommandApiRule
java.lang.Object
org.junit.rules.ExternalResource
io.camunda.zeebe.test.broker.protocol.commandapi.CommandApiRule
- All Implemented Interfaces:
org.junit.rules.TestRule
public final class CommandApiRule
extends org.junit.rules.ExternalResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivateJobs(int partitionId, String type, long lockDuration) activateJobs(int partitionId, String type, long lockDuration, int maxJobsToActivate) protected voidafter()protected voidbefore()targets the default partition by defaultcreateCmdRequest(int partition) partitionClient(int partitionId) Methods inherited from class org.junit.rules.ExternalResource
apply
-
Constructor Details
-
CommandApiRule
-
-
Method Details
-
before
protected void before()- Overrides:
beforein classorg.junit.rules.ExternalResource
-
after
protected void after()- Overrides:
afterin classorg.junit.rules.ExternalResource
-
createCmdRequest
targets the default partition by default -
createCmdRequest
-
partitionClient
-
partitionClient
-
activateJobs
public ExecuteCommandRequest activateJobs(int partitionId, String type, long lockDuration, int maxJobsToActivate) -
activateJobs
-
getPartitionIds
-