Package com.atlassian.bamboo.plan
Class PlanExecutionLaunchControlImpl.ExecutionRequestEntry
java.lang.Object
com.atlassian.bamboo.plan.PlanExecutionLaunchControlImpl.ExecutionRequestEntry
- Enclosing class:
- PlanExecutionLaunchControlImpl
-
Field Summary
Modifier and TypeFieldDescriptionfinal int
-
Constructor Summary
ConstructorDescriptionExecutionRequestEntry
(@NotNull Consumer<PlanExecutionLaunchControl.ReleaseLocksActions> runnableBody, int numberOfNeededLocks, int numberOfInitiallyAcquiredLocks, @NotNull Map<Long, String> idsToCacheKeysMapping) -
Method Summary
-
Field Details
-
numberOfNeededLocks
public final int numberOfNeededLocks -
idsToCacheKeysMapping
-
-
Constructor Details
-
ExecutionRequestEntry
public ExecutionRequestEntry(@NotNull @NotNull Consumer<PlanExecutionLaunchControl.ReleaseLocksActions> runnableBody, int numberOfNeededLocks, int numberOfInitiallyAcquiredLocks, @NotNull @NotNull Map<Long, String> idsToCacheKeysMapping)
-
-
Method Details
-
incrementNumberOfAlreadyHeldLocksAndTellIfHasAllNeeded
public boolean incrementNumberOfAlreadyHeldLocksAndTellIfHasAllNeeded() -
run
public void run(@NotNull @NotNull Function<Map<Long, String>, PlanExecutionLaunchControl.ReleaseLocksActions> createReleaseLocksAction)
-