Class InflightActivateJobsRequestState
java.lang.Object
io.camunda.zeebe.gateway.impl.job.InflightActivateJobsRequestState
-
Constructor Summary
ConstructorsConstructorDescriptionInflightActivateJobsRequestState(PartitionIdIterator iterator, int remainingAmount) -
Method Summary
Modifier and TypeMethodDescriptionintintintvoidsetPollPrevPartition(boolean pollPrevPartition) voidsetRemainingAmount(int remainingAmount) voidsetResourceExhaustedWasPresent(boolean resourceExhaustedWasPresent) booleanboolean
-
Constructor Details
-
InflightActivateJobsRequestState
-
-
Method Details
-
getCurrentPartition
public int getCurrentPartition() -
getNextPartition
public int getNextPartition() -
getRemainingAmount
public int getRemainingAmount() -
setRemainingAmount
public void setRemainingAmount(int remainingAmount) -
wasResourceExhaustedPresent
public boolean wasResourceExhaustedPresent() -
setResourceExhaustedWasPresent
public void setResourceExhaustedWasPresent(boolean resourceExhaustedWasPresent) -
setPollPrevPartition
public void setPollPrevPartition(boolean pollPrevPartition) -
shouldActivateJobs
public boolean shouldActivateJobs()
-