|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.plan.NonBlockingPlanExecutionServiceImpl
public class NonBlockingPlanExecutionServiceImpl
Constructor Summary | |
---|---|
NonBlockingPlanExecutionServiceImpl(PlanExecutionManager planExecutionManager,
ImmutablePlanCacheService immutablePlanCacheService)
|
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) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NonBlockingPlanExecutionServiceImpl(PlanExecutionManager planExecutionManager, ImmutablePlanCacheService immutablePlanCacheService)
Method Detail |
---|
@Nullable public java.util.concurrent.Future<ExecutionRequestResult> tryToStart(@NotNull ImmutableChain chain, @NotNull BuildDetectionAction buildDetectionAction, @NotNull AcquisitionPolicy acquisitionPolicy)
NonBlockingPlanExecutionService
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.
tryToStart
in interface NonBlockingPlanExecutionService
@NotNull public ExecutorStats getExecutorStats()
NonBlockingPlanExecutionService
ThreadPoolExecutor
getExecutorStats
in interface NonBlockingPlanExecutionService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |