Uses of Interface
com.atlassian.bamboo.trigger.TriggerableInternalKey
-
Packages that use TriggerableInternalKey Package Description com.atlassian.bamboo.plan com.atlassian.bamboo.trigger.dependency -
-
Uses of TriggerableInternalKey in com.atlassian.bamboo.plan
Classes in com.atlassian.bamboo.plan that implement TriggerableInternalKey Modifier and Type Class Description classTriggerableInternalKeyImplHelper class that carries around Chain/Environment id and lets easily get its instance from correct service.Fields in com.atlassian.bamboo.plan with type parameters of type TriggerableInternalKey Modifier and Type Field Description protected com.google.common.collect.Multimap<TriggerableInternalKey,PlanExecutionLaunchControlImpl.ExecutionRequestEntry>PlanExecutionLaunchControlImpl.PerTriggerableMemory. mapprotected Map<Long,Queue<TriggerableInternalKey>>PlanExecutionLaunchControlImpl.PerRepositoryQueues. perRepositoryIdQueuesMethods in com.atlassian.bamboo.plan that return TriggerableInternalKey Modifier and Type Method Description static TriggerableInternalKeyTriggerableInternalKeyImpl. forEnvironmentId(long environmentId)static TriggerableInternalKeyTriggerableInternalKeyImpl. forPlanKey(@NotNull PlanKey planKey)static TriggerableInternalKeyTriggerableInternalKeyImpl. forStageId(@NotNull PlanKey planKey, long stageId)Methods in com.atlassian.bamboo.plan that return types with arguments of type TriggerableInternalKey Modifier and Type Method Description Optional<TriggerableInternalKey>PlanExecutionLaunchControlImpl.PerRepositoryQueues. popFirst(@NotNull Long repositoryId)Methods in com.atlassian.bamboo.plan with parameters of type TriggerableInternalKey Modifier and Type Method Description voidPlanExecutionLaunchControlImpl.PerRepositoryQueues. add(@NotNull Long repositoryId, @NotNull TriggerableInternalKey valueToAdd)voidPlanExecutionLaunchControlImpl.PerTriggerableMemory. add(@NotNull TriggerableInternalKey key, @NotNull PlanExecutionLaunchControlImpl.ExecutionRequestEntry value)<V> VPlanExecutionLockService. inlineProcessLocks(@NotNull TriggerableInternalKey lockKey, @NotNull AcquisitionPolicy acquisitionPolicy, @NotNull Callable<V> callable)A parallel locking mechanism that allows a backdoor to the standard lock.<V> VPlanExecutionLockServiceImpl. inlineProcessLocks(@NotNull TriggerableInternalKey internalKey, @NotNull AcquisitionPolicy acquisitionPolicy, @NotNull Callable<V> callable)voidPlanExecutionLockService. interruptLockOwner(@NotNull TriggerableInternalKey lockKey)Interrupts the owner of the lock represented byTriggerableInternalKeyvoidPlanExecutionLockServiceImpl. interruptLockOwner(@NotNull TriggerableInternalKey internalKey)booleanPlanExecutionLockService. isLocked(@NotNull TriggerableInternalKey lockKey)Checks if the givenStringhas been lockedbooleanPlanExecutionLockServiceImpl. isLocked(@NotNull TriggerableInternalKey internalKey)<V> VPlanExecutionLockService. lock(@NotNull TriggerableInternalKey lockKey, @NotNull AcquisitionPolicy acquisitionPolicy, @NotNull Callable<V> callable)Acquires a lock on the givenTriggerableInternalKeythen calls the givenCallablewithin the global request lock<V> VPlanExecutionLockServiceImpl. lock(@NotNull TriggerableInternalKey internalKey, @NotNull AcquisitionPolicy acquisitionPolicy, @NotNull Callable<V> callable)Quick note about the implementation Since the acquisition policyAcquisitionPolicy.WAITcan 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.Optional<PlanExecutionLaunchControlImpl.ExecutionRequestEntry>PlanExecutionLaunchControlImpl.PerTriggerableMemory. notifyAboutReleasedLock(@NotNull TriggerableInternalKey triggerableInternalKey)Notify the longest waiting triggerable with requested triggerableInternalKey that one of the locks it needs is free.voidPlanExecutionLaunchControl. schedule(@NotNull TriggerableInternalKey triggerableInternalKey, @Nullable BuildDetectionAction buildDetectionAction, @NotNull Consumer<PlanExecutionLaunchControl.ReleaseLocksActions> runnableBody)Scheduling theTriggerableInternalKeyto execute.voidPlanExecutionLaunchControlImpl. schedule(@NotNull TriggerableInternalKey triggerableInternalKey, @Nullable BuildDetectionAction buildDetectionAction, @NotNull Consumer<PlanExecutionLaunchControl.ReleaseLocksActions> runnableBody) -
Uses of TriggerableInternalKey in com.atlassian.bamboo.trigger.dependency
Methods in com.atlassian.bamboo.trigger.dependency that return types with arguments of type TriggerableInternalKey Modifier and Type Method Description @NotNull Set<TriggerableInternalKey>EnvironmentDependencyService. getEnvironmentsToTrigger(@NotNull TriggerableInternalKey planKey)@NotNull Set<TriggerableInternalKey>EnvironmentDependencyServiceImpl. getEnvironmentsToTrigger(@NotNull TriggerableInternalKey parent)Methods in com.atlassian.bamboo.trigger.dependency with parameters of type TriggerableInternalKey Modifier and Type Method Description @NotNull Set<TriggerableInternalKey>EnvironmentDependencyService. getEnvironmentsToTrigger(@NotNull TriggerableInternalKey planKey)@NotNull Set<TriggerableInternalKey>EnvironmentDependencyServiceImpl. getEnvironmentsToTrigger(@NotNull TriggerableInternalKey parent)Method parameters in com.atlassian.bamboo.trigger.dependency with type arguments of type TriggerableInternalKey Modifier and Type Method Description voidEnvironmentDependencyService. addDependencies(@NotNull Triggerable dependent, long triggerId, @NotNull Set<TriggerableInternalKey> triggeringPlans)Adds dependencies from triggeringPlans to aTriggerablevoidEnvironmentDependencyServiceImpl. addDependencies(@NotNull Triggerable dependent, long triggerId, @NotNull Set<TriggerableInternalKey> parents)voidEnvironmentDependencyService. replaceDependencies(@NotNull Triggerable dependent, long triggerId, @NotNull Set<TriggerableInternalKey> triggeringPlans)Removes all existing dependencies and adds new.voidEnvironmentDependencyServiceImpl. replaceDependencies(@NotNull Triggerable dependent, long triggerId, @NotNull Set<TriggerableInternalKey> parents)
-