Package com.atlassian.bamboo.plan
Class PlanExecutionLaunchControlImpl.ExecutionRequestEntry
- java.lang.Object
-
- com.atlassian.bamboo.plan.PlanExecutionLaunchControlImpl.ExecutionRequestEntry
-
- Enclosing class:
- PlanExecutionLaunchControlImpl
protected static class PlanExecutionLaunchControlImpl.ExecutionRequestEntry extends Object
-
-
Field Summary
Fields Modifier and Type Field Description int
numberOfNeededLocks
Set<Long>
repositoriesIds
-
Constructor Summary
Constructors Constructor Description ExecutionRequestEntry(@NotNull Consumer<PlanExecutionLaunchControl.ReleaseLocksActions> runnableBody, int numberOfNeededLocks, int numberOfInitiallyAcquiredLocks, @NotNull Set<Long> repositoriesIds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
incrementNumberOfAlreadyHeldLocksAndTellIfHasAllNeeded()
void
run(@NotNull Function<Set<Long>,PlanExecutionLaunchControl.ReleaseLocksActions> createReleaseLocksAction)
-
-
-
Constructor Detail
-
ExecutionRequestEntry
public ExecutionRequestEntry(@NotNull @NotNull Consumer<PlanExecutionLaunchControl.ReleaseLocksActions> runnableBody, int numberOfNeededLocks, int numberOfInitiallyAcquiredLocks, @NotNull @NotNull Set<Long> repositoriesIds)
-
-
Method Detail
-
incrementNumberOfAlreadyHeldLocksAndTellIfHasAllNeeded
public boolean incrementNumberOfAlreadyHeldLocksAndTellIfHasAllNeeded()
-
run
public void run(@NotNull @NotNull Function<Set<Long>,PlanExecutionLaunchControl.ReleaseLocksActions> createReleaseLocksAction)
-
-