Class CommandWrapper
java.lang.Object
io.camunda.zeebe.spring.client.jobhandling.CommandWrapper
-
Constructor Summary
ConstructorsConstructorDescriptionCommandWrapper(io.camunda.zeebe.client.api.command.FinalCommandStep<Void> command, io.camunda.zeebe.client.api.response.ActivatedJob job, CommandExceptionHandlingStrategy commandExceptionHandlingStrategy) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanvoidincreaseBackoffUsing(io.camunda.zeebe.client.api.worker.BackoffSupplier backoffSupplier) booleanvoidscheduleExecutionUsing(ScheduledExecutorService scheduledExecutorService) toString()
-
Constructor Details
-
CommandWrapper
public CommandWrapper(io.camunda.zeebe.client.api.command.FinalCommandStep<Void> command, io.camunda.zeebe.client.api.response.ActivatedJob job, CommandExceptionHandlingStrategy commandExceptionHandlingStrategy)
-
-
Method Details
-
executeAsync
public void executeAsync() -
increaseBackoffUsing
public void increaseBackoffUsing(io.camunda.zeebe.client.api.worker.BackoffSupplier backoffSupplier) -
scheduleExecutionUsing
-
toString
-
hasMoreRetries
public boolean hasMoreRetries() -
jobDeadlineExceeded
public boolean jobDeadlineExceeded()
-