Package com.atlassian.bamboo.plan
Class PlanExecutionLaunchControlImpl.PerTriggerableMemory
- java.lang.Object
-
- com.atlassian.bamboo.plan.PlanExecutionLaunchControlImpl.PerTriggerableMemory
-
- Enclosing class:
- PlanExecutionLaunchControlImpl
protected static class PlanExecutionLaunchControlImpl.PerTriggerableMemory extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected com.google.common.collect.Multimap<TriggerableInternalKey,PlanExecutionLaunchControlImpl.ExecutionRequestEntry>
map
-
Constructor Summary
Constructors Modifier Constructor Description protected
PerTriggerableMemory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(@NotNull TriggerableInternalKey key, @NotNull PlanExecutionLaunchControlImpl.ExecutionRequestEntry value)
void
clear()
Optional<PlanExecutionLaunchControlImpl.ExecutionRequestEntry>
notifyAboutReleasedLock(@NotNull TriggerableInternalKey triggerableInternalKey)
Notify the longest waiting triggerable with requested triggerableInternalKey that one of the locks it needs is free.
-
-
-
Field Detail
-
map
protected final com.google.common.collect.Multimap<TriggerableInternalKey,PlanExecutionLaunchControlImpl.ExecutionRequestEntry> map
-
-
Method Detail
-
notifyAboutReleasedLock
public Optional<PlanExecutionLaunchControlImpl.ExecutionRequestEntry> notifyAboutReleasedLock(@NotNull @NotNull TriggerableInternalKey triggerableInternalKey)
Notify the longest waiting triggerable with requested triggerableInternalKey that one of the locks it needs is free.- Returns:
PlanExecutionLaunchControlImpl.ExecutionRequestEntry
that is ready to be executed or Empty if there is no ready to execute entry at this point
-
add
public void add(@NotNull @NotNull TriggerableInternalKey key, @NotNull @NotNull PlanExecutionLaunchControlImpl.ExecutionRequestEntry value)
-
clear
public void clear()
-
-