|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NonBlockingPlanExecutionService
An alternative to PlanExecutionManager
that will run the change detection in the background.
Method Summary | |
---|---|
ExecutorStats |
getExecutorStats()
Stats for the underlying ThreadPoolExecutor |
java.util.concurrent.Future<ExecutionRequestResult> |
tryToStart(ImmutableChain chain,
BuildDetectionAction buildDetectionAction,
AcquisitionPolicy acquisitionPolicy)
Submits a background task to run PlanExecutionManager.start(com.atlassian.bamboo.plan.cache.ImmutableChain, com.atlassian.bamboo.build.BuildDetectionAction, com.atlassian.bamboo.util.AcquisitionPolicy) . |
Method Detail |
---|
@Nullable java.util.concurrent.Future<ExecutionRequestResult> tryToStart(@NotNull ImmutableChain chain, @NotNull BuildDetectionAction buildDetectionAction, @NotNull AcquisitionPolicy acquisitionPolicy)
PlanExecutionManager.start(com.atlassian.bamboo.plan.cache.ImmutableChain, com.atlassian.bamboo.build.BuildDetectionAction, com.atlassian.bamboo.util.AcquisitionPolicy)
. Only one AcquisitionPolicy.IMMEDIATE
will be queued at any point in time.
chain
- buildDetectionAction
- acquisitionPolicy
-
@NotNull ExecutorStats getExecutorStats()
ThreadPoolExecutor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |