Uses of Class
com.atlassian.bamboo.util.AcquisitionPolicy
Package
Description
-
Uses of AcquisitionPolicy in com.atlassian.bamboo.deletion
Modifier and TypeMethodDescriptionFuture<?>
DeletionServiceHelper.executeDelayedDeletion
(ReadWriteLock deletionLock, AcquisitionPolicy acquisitionPolicy, ExecutorService executorService) -
Uses of AcquisitionPolicy in com.atlassian.bamboo.plan
Modifier and TypeMethodDescription<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.inlineProcessLocks
(@NotNull TriggerableInternalKey internalKey, @NotNull AcquisitionPolicy acquisitionPolicy, @NotNull Callable<V> callable) <V> V
PlanExecutionLockService.lock
(@NotNull TriggerableInternalKey lockKey, @NotNull AcquisitionPolicy acquisitionPolicy, @NotNull Callable<V> callable) Acquires a lock on the givenTriggerableInternalKey
then calls the givenCallable
within the global request lock<V> V
PlanExecutionLockServiceImpl.lock
(@NotNull TriggerableInternalKey internalKey, @NotNull AcquisitionPolicy acquisitionPolicy, @NotNull Callable<V> callable) Quick note about the implementation Since the acquisition policyWAIT
can block for an indefinite amount of time we acquire this lock before trying to take the global execution lock otherwise callers toPlanExecutionLockServiceImpl.runWhenNoExecutionRequestsAreBeingMade(Callable)
in the worst case will wait indefinitely.@NotNull ExecutionRequestResult
DelegatingPlanExecutionManager.start
(@NotNull ImmutableChain chain, @NotNull BuildDetectionAction buildDetectionAction, @NotNull AcquisitionPolicy acquisitionPolicy) @NotNull ExecutionRequestResult
DelegatingPlanExecutionManager.start
(@NotNull ImmutableChain chain, @NotNull BuildDetectionAction buildDetectionAction, @NotNull AcquisitionPolicy acquisitionPolicy, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) @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
DelegatingPlanExecutionManager.start
(@NotNull Triggerable triggerable, @NotNull BuildDetectionAction buildDetectionAction, @NotNull AcquisitionPolicy acquisitionPolicy) @NotNull ExecutionRequestResult
DelegatingPlanExecutionManager.start
(@NotNull Triggerable triggerable, @NotNull BuildDetectionAction buildDetectionAction, @NotNull AcquisitionPolicy acquisitionPolicy, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) @NotNull ExecutionRequestResult
PlanExecutionManager.start
(@NotNull ImmutableChain chain, @NotNull BuildDetectionAction buildDetectionAction, @NotNull AcquisitionPolicy acquisitionPolicy) default @NotNull ExecutionRequestResult
PlanExecutionManager.start
(@NotNull ImmutableChain chain, @NotNull BuildDetectionAction buildDetectionAction, @NotNull AcquisitionPolicy acquisitionPolicy, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) @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
PlanExecutionManager.start
(@NotNull Triggerable triggerable, @NotNull BuildDetectionAction buildDetectionAction, @NotNull AcquisitionPolicy acquisitionPolicy) default @NotNull ExecutionRequestResult
PlanExecutionManager.start
(@NotNull Triggerable triggerable, @NotNull BuildDetectionAction buildDetectionAction, @NotNull AcquisitionPolicy acquisitionPolicy, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) PlanExecutionManagerImpl.start
(@NotNull ImmutableChain chain, @NotNull BuildDetectionAction buildDetectionAction, @NotNull AcquisitionPolicy acquisitionPolicy) @NotNull ExecutionRequestResult
PlanExecutionManagerImpl.start
(@NotNull ImmutableChain chain, @NotNull BuildDetectionAction buildDetectionAction, @NotNull AcquisitionPolicy acquisitionPolicy, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) @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
PlanExecutionManagerImpl.start
(@NotNull Triggerable triggerable, @NotNull BuildDetectionAction buildDetectionAction, @NotNull AcquisitionPolicy acquisitionPolicy) @NotNull ExecutionRequestResult
PlanExecutionManagerImpl.start
(@NotNull Triggerable triggerable, @NotNull BuildDetectionAction buildDetectionAction, @NotNull AcquisitionPolicy acquisitionPolicy, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) -
Uses of AcquisitionPolicy in com.atlassian.bamboo.util
Modifier and TypeFieldDescriptionstatic final AcquisitionPolicy
AcquisitionPolicy.IMMEDIATE
Attempts to acquire the lock immediately.static final AcquisitionPolicy
AcquisitionPolicy.WAIT
Waits until theLock
has been acquired