|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TriggerableInternalKey | |
---|---|
com.atlassian.bamboo.build.strategy | |
com.atlassian.bamboo.plan |
Uses of TriggerableInternalKey in com.atlassian.bamboo.build.strategy |
---|
Methods in com.atlassian.bamboo.build.strategy that return types with arguments of type TriggerableInternalKey | |
---|---|
java.util.Set<TriggerableInternalKey> |
EnvironmentDependencyServiceImpl.getEnvironmentsToTrigger(PlanKey planKey)
|
java.util.Set<TriggerableInternalKey> |
EnvironmentDependencyService.getEnvironmentsToTrigger(PlanKey planKey)
|
Uses of TriggerableInternalKey in com.atlassian.bamboo.plan |
---|
Classes in com.atlassian.bamboo.plan that implement TriggerableInternalKey | |
---|---|
class |
TriggerableInternalKeyImpl
Helper class that carries around Chain/Environment id and lets easily get its instance from correct service. |
Methods in com.atlassian.bamboo.plan with parameters of type TriggerableInternalKey | ||
---|---|---|
|
PlanExecutionLockService.inlineProcessLocks(TriggerableInternalKey lockKey,
AcquisitionPolicy acquisitionPolicy,
java.util.concurrent.Callable<V> callable)
A parallel locking mechanism that allows a backdoor to the standard lock. |
|
|
PlanExecutionLockServiceImpl.inlineProcessLocks(TriggerableInternalKey internalKey,
AcquisitionPolicy acquisitionPolicy,
java.util.concurrent.Callable<V> callable)
|
|
void |
PlanExecutionLockService.interruptLockOwner(TriggerableInternalKey lockKey)
Interrupts the owner of the lock represented by TriggerableInternalKey |
|
void |
PlanExecutionLockServiceImpl.interruptLockOwner(TriggerableInternalKey internalKey)
|
|
boolean |
PlanExecutionLockService.isLocked(TriggerableInternalKey lockKey)
Checks if the given String has been locked |
|
boolean |
PlanExecutionLockServiceImpl.isLocked(TriggerableInternalKey internalKey)
|
|
|
PlanExecutionLockService.lock(TriggerableInternalKey lockKey,
AcquisitionPolicy acquisitionPolicy,
java.util.concurrent.Callable<V> callable)
Acquires a lock on the given TriggerableInternalKey then calls the given Callable within the global request lock |
|
|
PlanExecutionLockServiceImpl.lock(TriggerableInternalKey internalKey,
AcquisitionPolicy acquisitionPolicy,
java.util.concurrent.Callable<V> callable)
Quick note about the implementation Since the acquisition policy AcquisitionPolicy.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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |