Package | Description |
---|---|
com.atlassian.bamboo.deletion | |
com.atlassian.bamboo.plan | |
com.atlassian.bamboo.util |
Modifier and Type | Method and Description |
---|---|
void |
DeletionServiceHelper.executeDelayedDeletion(ReadWriteLock deletionLock,
AcquisitionPolicy acquisitionPolicy) |
Modifier and Type | Method and Description |
---|---|
<V> V |
PlanExecutionLockServiceImpl.inlineProcessLocks(@NotNull TriggerableInternalKey internalKey,
@NotNull AcquisitionPolicy acquisitionPolicy,
@NotNull Callable<V> callable) |
<V> V |
PlanExecutionLockService.inlineProcessLocks(@NotNull TriggerableInternalKey lockKey,
@NotNull AcquisitionPolicy acquisitionPolicy,
@NotNull Callable<V> callable)
A parallel locking mechanism that allows a backdoor to the standard lock.
|
<V> V |
PlanExecutionLockServiceImpl.lock(@NotNull TriggerableInternalKey internalKey,
@NotNull AcquisitionPolicy acquisitionPolicy,
@NotNull Callable<V> callable)
Quick note about the implementation
Since the acquisition policy
WAIT can block for an indefinite amount of time
we acquire this lock before trying to take the global execution lock otherwise callers to PlanExecutionLockServiceImpl.runWhenNoExecutionRequestsAreBeingMade(Callable)
in the worst case will wait indefinitely. |
<V> V |
PlanExecutionLockService.lock(@NotNull TriggerableInternalKey lockKey,
@NotNull AcquisitionPolicy acquisitionPolicy,
@NotNull Callable<V> callable)
Acquires a lock on the given
TriggerableInternalKey then calls the given Callable within the global request lock |
@NotNull ExecutionRequestResult |
DelegatingPlanExecutionManager.start(@NotNull ImmutableChain chain,
@NotNull BuildDetectionAction buildDetectionAction,
@NotNull AcquisitionPolicy acquisitionPolicy) |
ExecutionRequestResult |
PlanExecutionManagerImpl.start(@NotNull ImmutableChain chain,
@NotNull BuildDetectionAction buildDetectionAction,
@NotNull AcquisitionPolicy acquisitionPolicy) |
@NotNull ExecutionRequestResult |
PlanExecutionManager.start(@NotNull ImmutableChain chain,
@NotNull BuildDetectionAction buildDetectionAction,
@NotNull AcquisitionPolicy acquisitionPolicy)
|
@NotNull ExecutionRequestResult |
DelegatingPlanExecutionManager.start(@NotNull ImmutableChain chain,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull String triggerReasonPluginKey,
@NotNull String planTriggerPluginKey,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables,
@NotNull AcquisitionPolicy acquisitionPolicy) |
@NotNull ExecutionRequestResult |
PlanExecutionManagerImpl.start(@NotNull ImmutableChain chain,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull String triggerReasonPluginKey,
@NotNull String planTriggerPluginKey,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables,
@NotNull AcquisitionPolicy acquisitionPolicy) |
@NotNull ExecutionRequestResult |
PlanExecutionManager.start(@NotNull ImmutableChain chain,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull String triggerReasonPluginKey,
@NotNull String planTriggerPluginKey,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables,
@NotNull AcquisitionPolicy acquisitionPolicy)
|
@NotNull ExecutionRequestResult |
DelegatingPlanExecutionManager.start(@NotNull Triggerable triggerable,
@NotNull BuildDetectionAction buildDetectionAction,
@NotNull AcquisitionPolicy acquisitionPolicy) |
@NotNull ExecutionRequestResult |
PlanExecutionManagerImpl.start(@NotNull Triggerable triggerable,
@NotNull BuildDetectionAction buildDetectionAction,
@NotNull AcquisitionPolicy acquisitionPolicy) |
@NotNull ExecutionRequestResult |
PlanExecutionManager.start(@NotNull Triggerable triggerable,
@NotNull BuildDetectionAction buildDetectionAction,
@NotNull AcquisitionPolicy acquisitionPolicy)
|
Modifier and Type | Field and Description |
---|---|
static AcquisitionPolicy |
AcquisitionPolicy.IMMEDIATE
Attempts to acquire the lock immediately.
|
static AcquisitionPolicy |
AcquisitionPolicy.WAIT
Waits until the
Lock has been acquired |
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.