Package | Description |
---|---|
com.atlassian.bamboo.plan | |
com.atlassian.bamboo.util |
Modifier and Type | Method and Description |
---|---|
<V> V |
PlanExecutionLockServiceImpl.inlineProcessLocks(TriggerableInternalKey internalKey,
AcquisitionPolicy acquisitionPolicy,
Callable<V> callable) |
<V> V |
PlanExecutionLockService.inlineProcessLocks(TriggerableInternalKey lockKey,
AcquisitionPolicy acquisitionPolicy,
Callable<V> callable)
A parallel locking mechanism that allows a backdoor to the standard lock.
|
<V> V |
PlanExecutionLockServiceImpl.lock(TriggerableInternalKey internalKey,
AcquisitionPolicy acquisitionPolicy,
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(TriggerableInternalKey lockKey,
AcquisitionPolicy acquisitionPolicy,
Callable<V> callable)
Acquires a lock on the given
TriggerableInternalKey then calls the given Callable within the global request lock |
ExecutionRequestResult |
DelegatingPlanExecutionManager.start(ImmutableChain chain,
BuildDetectionAction buildDetectionAction,
AcquisitionPolicy acquisitionPolicy) |
ExecutionRequestResult |
PlanExecutionManagerImpl.start(ImmutableChain chain,
BuildDetectionAction buildDetectionAction,
AcquisitionPolicy acquisitionPolicy) |
ExecutionRequestResult |
PlanExecutionManager.start(ImmutableChain chain,
BuildDetectionAction buildDetectionAction,
AcquisitionPolicy acquisitionPolicy)
|
ExecutionRequestResult |
DelegatingPlanExecutionManager.start(ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
String triggerReasonPluginKey,
String planTriggerPluginKey,
Map<String,String> params,
Map<String,String> variables,
AcquisitionPolicy acquisitionPolicy) |
ExecutionRequestResult |
PlanExecutionManagerImpl.start(ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
String triggerReasonPluginKey,
String planTriggerPluginKey,
Map<String,String> params,
Map<String,String> variables,
AcquisitionPolicy acquisitionPolicy) |
ExecutionRequestResult |
PlanExecutionManager.start(ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
String triggerReasonPluginKey,
String planTriggerPluginKey,
Map<String,String> params,
Map<String,String> variables,
AcquisitionPolicy acquisitionPolicy)
|
ExecutionRequestResult |
DelegatingPlanExecutionManager.start(Triggerable triggerable,
BuildDetectionAction buildDetectionAction,
AcquisitionPolicy acquisitionPolicy) |
ExecutionRequestResult |
PlanExecutionManagerImpl.start(Triggerable triggerable,
BuildDetectionAction buildDetectionAction,
AcquisitionPolicy acquisitionPolicy) |
ExecutionRequestResult |
PlanExecutionManager.start(Triggerable triggerable,
BuildDetectionAction buildDetectionAction,
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 © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.