Class BuildQueueImpl
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.BuildQueueImpl
-
- All Implemented Interfaces:
BatchTrigger,BuildQueue,BuildQueueEx,BuildQueueInit
public class BuildQueueImpl extends Object implements BuildQueueEx, BuildQueueInit
-
-
Field Summary
Fields Modifier and Type Field Description static StringALWAYS_COLLECT_CHANGES_IN_QUEUE_PROPstatic StringBUILD_QUEUE_ASYNC_EVENT_HANDLING_ENABLEDstatic StringTEAMCITY_BUILD_CHAINS_REUSE_QUEUED_BUILDS_PROPstatic StringTRIGGERED_BY_QUEUE_OPTIMIZATION_ENABLED_PARAM
-
Constructor Summary
Constructors Constructor Description BuildQueueImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<QueuedBuildEx>addToQueue(Map<BuildPromotionEx,SAgentRestrictor> promoAgentRestrictorMap, String rawTriggeredBy)Adds promotions to the queue with corresponding agent restrictors (if agent restrictor is null then no agent restrictor is used).voidapplyOrder(String[] itemIds)Applies new order to the build queue.voidcancelMatchedItems(Filter<SQueuedBuild> itemsFilter, SUser user, String comment)Removes and cancels items matched by the specified filter.Collection<QueuedBuildEx>computeBuildsToMerge()Computes queued builds which can be removed from the queue as a result of "merge optimization", i.e.List<SQueuedBuild>findPersonalBuildsByPersonalChangeListId(long personalChangeListId)QueuedBuildExfindQueued(String itemId)Searches for an item in queue with specified item id.QueuedBuildExfindQueued(String buildTypeId, Integer agentId)Looks for build configuration with specified id scheduled to run on specified agent in the queue.QueuedBuildExfindQueued(BuildPromotion promotion)Searches for a queued build item for the specified promotionstatic List<String>getBuildIds(List<SQueuedBuild> builds)SQueuedBuildgetFirst()Returns first queue element.List<SQueuedBuild>getItems()Returns all queued items.List<SQueuedBuild>getItems(String buildTypeId)Returns all items currently waiting in queue corresponding to specified build configuration id.List<SQueuedBuild>getItemsByPool(int agentPoolId)Returns all items currently waiting in queue corresponding to the specified agent pool.List<QueuedBuildEx>getItemsEx()SQueuedBuildgetLast()Returns last queue element.intgetNumberOfItems()Returns number of items currently in the queueintgetNumberOfItemsByPool(int agentPoolId)Returns number of items currently waiting in queue corresponding to the specified agent pool.intgetOrderNumber(SQueuedBuild queuedBuild)Returns order number of the specified queued buildList<QueuedBuildEx>getPersistedItemsEx()booleanhasPendingReloadTask()booleanisInQueue(String buildTypeId)Returns true if build configuration is already in queue.booleanisQueueEmpty()Checks if queue is empty.voidloadQueue()Loads queue from the database.booleanmergeBuilds(Predicate<SQueuedBuild> queuedBuildsFilter)Optimizes build queue by removing builds which can be safely substituted by newer builds added to the queue.voidmoveBottom(String itemId)Moves specified item to the bottom of the queue.voidmoveDependenciesToTop(BuildPromotion promotion)Moves dependencies of given promotion to the top of the queuevoidmoveTop(String itemId)Moves specified item to the top of the queue.TriggerTasknewTriggerTask(BuildPromotion promotion)Creates new trigger task based on specified build promotion.booleanoptimizeChains(List<BuildPromotionEx> buildPromotions)Optimizes build chains, i.e.List<SQueuedBuild>processTasks(Collection<TriggerTask> tasks, String triggeredBy)Processes collection of trigger tasks, by adding builds in the queue with parameters specified in these tasks.voidremoveAllFromQueue()Removes all items from the queuevoidremoveAllFromQueue(String buildTypeId)Removes all items from the queue which correspond to specified build configuration.voidremoveAllFromQueue(String buildTypeId, SUser user, String comment)Removes all items from the queue which correspond to specified build configuration.voidremoveItems(Collection<String> itemIds, SUser user, String comment)Removes items with specified ids from the queuevoidremoveMatchedItems(Filter<SQueuedBuild> filter, SUser user, String comment)Removes items matched by the specified filter from the queuevoidremoveQueuedBuilds(Collection<SQueuedBuild> items, SUser user, String comment)Removes specified items from the queuevoidresetQueue()Clears all queue items but does not persist queue, should be called beforeBuildQueueInit.loadQueue()method.List<QueuedBuildEx>restoreInQueue(BuildPromotionEx promo, SAgentRestrictor agentRestrictor, String rawTriggeredBy)Re-adds build into the queue.voidscheduleBuildQueueReload()Sends event to reload queue from database (for debug API, TW-85394)voidscheduleCheckingForChangesForQueuedBuilds(Collection<QueuedBuildEx> queuedBuilds)Processes the specified collection of queued builds, finds builds where changes collection should be done and schedules it.voidsetAgentRestrictorFactory(AgentRestrictorFactory agentRestrictorFactory)voidsetAuditLogFactory(AuditLogFactory auditLogFactory)voidsetBuildChainsOptimizer(BuildChainsOptimizer buildChainsOptimizer)voidsetBuildDurationCalculator(BuildDurationCalculator buildDurationCalculator)voidsetBuildPromotionManager(BuildPromotionManager buildPromotionManager)voidsetBuildPromotionReplacementLog(BuildPromotionReplacement buildPromotionReplacementLog)voidsetBuildStatisticsFactory(BuildStatisticsFactory buildStatisticsFactory)voidsetCleanupManager(ServerCleanupManager cleanupManager)voidsetEventDispatcher(EventDispatcher<BuildServerListener> eventDispatcher)voidsetExecutorServices(ExecutorServices executorServices)voidsetExtensionsProvider(ExtensionsProvider extensionsProvider)voidsetHistory(BuildHistoryEx history)voidsetMergeBuildsInQueue(boolean mergeBuildsInQueue)voidsetMultiNodeLocks(MultiNodeLocks multiNodeLocks)voidsetMultiNodesEvents(MultiNodesEvents multiNodesEvents)voidsetOrderingStrategy(BuildQueueOrderingStrategy strategy)Assign ordering strategy for this build queuevoidsetQueuedBuildFactory(QueuedBuildFactory queuedBuildFactory)voidsetQueuedBuildsChangesCollector(QueuedBuildsChangesCollector queuedBuildsChangesCollector)voidsetSecurityContext(SecurityContextEx securityContext)voidsetServerResponsibility(ServerResponsibility serverResponsibility)voidsetSqlRunner(SQLRunnerEx sqlRunner)voidsetTimeService(TimeService timeService)voidsetVersionedSettingsManager(VersionedSettingsManager versionedSettingsManager)voidsetWaitReasonStatisticsCollector(WaitReasonStatisticsCollector waitReasonStatisticsCollector)booleanshouldCollectChangesInQueue(BuildPromotionEx promotion)Returnstrueif changes should be collected for specified promotion while it is in build queuevoidterminateQueuedBuild(SQueuedBuild queuedBuild, SUser user, boolean isCanceled, String comment, BuildProblemData buildProblemData)Removes specified queued build from the queue and creates a history build entry for it.
-
-
-
Field Detail
-
TEAMCITY_BUILD_CHAINS_REUSE_QUEUED_BUILDS_PROP
public static final String TEAMCITY_BUILD_CHAINS_REUSE_QUEUED_BUILDS_PROP
- See Also:
- Constant Field Values
-
TRIGGERED_BY_QUEUE_OPTIMIZATION_ENABLED_PARAM
public static final String TRIGGERED_BY_QUEUE_OPTIMIZATION_ENABLED_PARAM
- See Also:
- Constant Field Values
-
ALWAYS_COLLECT_CHANGES_IN_QUEUE_PROP
public static final String ALWAYS_COLLECT_CHANGES_IN_QUEUE_PROP
- See Also:
- Constant Field Values
-
BUILD_QUEUE_ASYNC_EVENT_HANDLING_ENABLED
public static final String BUILD_QUEUE_ASYNC_EVENT_HANDLING_ENABLED
- See Also:
- Constant Field Values
-
-
Method Detail
-
setBuildStatisticsFactory
public void setBuildStatisticsFactory(BuildStatisticsFactory buildStatisticsFactory)
-
setEventDispatcher
public void setEventDispatcher(EventDispatcher<BuildServerListener> eventDispatcher)
-
setSqlRunner
public void setSqlRunner(SQLRunnerEx sqlRunner)
-
setQueuedBuildFactory
public void setQueuedBuildFactory(QueuedBuildFactory queuedBuildFactory)
-
setAgentRestrictorFactory
public void setAgentRestrictorFactory(AgentRestrictorFactory agentRestrictorFactory)
-
setHistory
public void setHistory(BuildHistoryEx history)
-
setSecurityContext
public void setSecurityContext(SecurityContextEx securityContext)
-
setCleanupManager
public void setCleanupManager(ServerCleanupManager cleanupManager)
-
setAuditLogFactory
public void setAuditLogFactory(AuditLogFactory auditLogFactory)
-
setExtensionsProvider
public void setExtensionsProvider(ExtensionsProvider extensionsProvider)
-
setBuildDurationCalculator
public void setBuildDurationCalculator(BuildDurationCalculator buildDurationCalculator)
-
setBuildPromotionReplacementLog
public void setBuildPromotionReplacementLog(BuildPromotionReplacement buildPromotionReplacementLog)
-
setVersionedSettingsManager
public void setVersionedSettingsManager(VersionedSettingsManager versionedSettingsManager)
-
setQueuedBuildsChangesCollector
public void setQueuedBuildsChangesCollector(QueuedBuildsChangesCollector queuedBuildsChangesCollector)
-
setWaitReasonStatisticsCollector
public void setWaitReasonStatisticsCollector(WaitReasonStatisticsCollector waitReasonStatisticsCollector)
-
setExecutorServices
public void setExecutorServices(ExecutorServices executorServices)
-
setMultiNodeLocks
public void setMultiNodeLocks(MultiNodeLocks multiNodeLocks)
-
setServerResponsibility
public void setServerResponsibility(ServerResponsibility serverResponsibility)
-
setMultiNodesEvents
public void setMultiNodesEvents(MultiNodesEvents multiNodesEvents)
-
setBuildPromotionManager
public void setBuildPromotionManager(BuildPromotionManager buildPromotionManager)
-
setBuildChainsOptimizer
public void setBuildChainsOptimizer(BuildChainsOptimizer buildChainsOptimizer)
-
setTimeService
public void setTimeService(TimeService timeService)
-
getItems
@NotNull public List<SQueuedBuild> getItems()
Description copied from interface:BuildQueueReturns all queued items.- Specified by:
getItemsin interfaceBuildQueue- Returns:
- list of currently queued items.
-
getItems
@NotNull public List<SQueuedBuild> getItems(String buildTypeId)
Description copied from interface:BuildQueueReturns all items currently waiting in queue corresponding to specified build configuration id.- Specified by:
getItemsin interfaceBuildQueue- Parameters:
buildTypeId- specified build configuration.- Returns:
- all items currently waiting in queue corresponding to specified build configuration id.
-
getItemsByPool
@NotNull public List<SQueuedBuild> getItemsByPool(int agentPoolId)
Description copied from interface:BuildQueueExReturns all items currently waiting in queue corresponding to the specified agent pool.- Specified by:
getItemsByPoolin interfaceBuildQueueEx- Parameters:
agentPoolId- agent pool id- Returns:
- see above
-
getNumberOfItemsByPool
public int getNumberOfItemsByPool(int agentPoolId)
Description copied from interface:BuildQueueExReturns number of items currently waiting in queue corresponding to the specified agent pool.- Specified by:
getNumberOfItemsByPoolin interfaceBuildQueueEx- Returns:
- number of items currently waiting in queue corresponding to the specified agent pool.
-
scheduleCheckingForChangesForQueuedBuilds
public void scheduleCheckingForChangesForQueuedBuilds(@NotNull Collection<QueuedBuildEx> queuedBuilds)Description copied from interface:BuildQueueExProcesses the specified collection of queued builds, finds builds where changes collection should be done and schedules it.- Specified by:
scheduleCheckingForChangesForQueuedBuildsin interfaceBuildQueueEx
-
findQueued
@Nullable public QueuedBuildEx findQueued(@NotNull BuildPromotion promotion)
Description copied from interface:BuildQueueExSearches for a queued build item for the specified promotion- Specified by:
findQueuedin interfaceBuildQueueEx- Returns:
- found item or null
-
getNumberOfItems
public int getNumberOfItems()
Description copied from interface:BuildQueueReturns number of items currently in the queue- Specified by:
getNumberOfItemsin interfaceBuildQueue- Returns:
- number of items currently in the queue
-
shouldCollectChangesInQueue
public boolean shouldCollectChangesInQueue(@NotNull BuildPromotionEx promotion)Description copied from interface:BuildQueueExReturnstrueif changes should be collected for specified promotion while it is in build queue- Specified by:
shouldCollectChangesInQueuein interfaceBuildQueueEx- Parameters:
promotion- build promotion of interest- Returns:
- see above
-
addToQueue
@NotNull public List<QueuedBuildEx> addToQueue(@NotNull Map<BuildPromotionEx,SAgentRestrictor> promoAgentRestrictorMap, @NotNull String rawTriggeredBy)
Description copied from interface:BuildQueueExAdds promotions to the queue with corresponding agent restrictors (if agent restrictor is null then no agent restrictor is used). If same build is already in queue then new build is not added. If promotion has associated graph then it must be top of this graph. All nodes of the graph will be added in the queue. If chains passed to this method intersects in personal build nodes then only one personal build will be added in queue for each intersection. Returns newly added builds and currently queued builds for not added builds.- Specified by:
addToQueuein interfaceBuildQueueEx- Parameters:
promoAgentRestrictorMap- map of top promotion to agent restrictorsrawTriggeredBy- triggered by- Returns:
- see above
-
getBuildIds
@NotNull public static List<String> getBuildIds(@NotNull List<SQueuedBuild> builds)
-
findQueued
@Nullable public QueuedBuildEx findQueued(@NotNull String buildTypeId, Integer agentId)
Description copied from interface:BuildQueueLooks for build configuration with specified id scheduled to run on specified agent in the queue.- Specified by:
findQueuedin interfaceBuildQueue- Specified by:
findQueuedin interfaceBuildQueueEx- Parameters:
buildTypeId- id of build configuration to search foragentId- id of the agent. If not null only build configuration scheduled to specified agent will be returned. If null then build configuration which is not scheduled to any specific agent is returned.- Returns:
- found item or null
-
isInQueue
public boolean isInQueue(@NotNull String buildTypeId)Description copied from interface:BuildQueueReturns true if build configuration is already in queue.- Specified by:
isInQueuein interfaceBuildQueue- Parameters:
buildTypeId- id of build configuration- Returns:
- if the specified configuration is in the queue.
-
findQueued
@Nullable public QueuedBuildEx findQueued(@NotNull String itemId)
Description copied from interface:BuildQueueSearches for an item in queue with specified item id.- Specified by:
findQueuedin interfaceBuildQueue- Specified by:
findQueuedin interfaceBuildQueueEx- Parameters:
itemId- id of the item to look for.- Returns:
- found item or null
-
isQueueEmpty
public boolean isQueueEmpty()
Description copied from interface:BuildQueueChecks if queue is empty.- Specified by:
isQueueEmptyin interfaceBuildQueue- Returns:
- true if queue is empty.
-
getFirst
@Nullable public SQueuedBuild getFirst()
Description copied from interface:BuildQueueReturns first queue element.- Specified by:
getFirstin interfaceBuildQueue- Returns:
- first queue element, null is queue is empty.
-
getLast
@Nullable public SQueuedBuild getLast()
Description copied from interface:BuildQueueReturns last queue element.- Specified by:
getLastin interfaceBuildQueue- Returns:
- last queue element, null is queue is empty.
-
removeItems
public void removeItems(@NotNull Collection<String> itemIds, @Nullable SUser user, @Nullable String comment)Description copied from interface:BuildQueueRemoves items with specified ids from the queue- Specified by:
removeItemsin interfaceBuildQueue- Parameters:
itemIds- ids items to removeuser- user who performs operationcomment- comment to use for remove operation
-
removeMatchedItems
public void removeMatchedItems(@NotNull Filter<SQueuedBuild> filter, @Nullable SUser user, @Nullable String comment)Description copied from interface:BuildQueueExRemoves items matched by the specified filter from the queue- Specified by:
removeMatchedItemsin interfaceBuildQueueEx- Parameters:
filter- queue items filteruser- user who performs operation, if user is not null then build will be cancelled, otherwise it can be completely removed if there are no started builds depending on itcomment- comment to use for remove operation
-
cancelMatchedItems
public void cancelMatchedItems(@NotNull Filter<SQueuedBuild> itemsFilter, @Nullable SUser user, @Nullable String comment)Description copied from interface:BuildQueueExRemoves and cancels items matched by the specified filter. The main difference of this method andBuildQueueEx.removeMatchedItems(Filter, SUser, String)is that this method always creates cancelled builds in history for removed queued items, while removeMatchedItems can skip creating cancelled builds if user is not specified- Specified by:
cancelMatchedItemsin interfaceBuildQueueEx- Parameters:
itemsFilter- queue items filteruser- user who performs operationcomment- comment to use for remove operation
-
removeQueuedBuilds
public void removeQueuedBuilds(@NotNull Collection<SQueuedBuild> items, @Nullable SUser user, @Nullable String comment)Description copied from interface:BuildQueueRemoves specified items from the queue- Specified by:
removeQueuedBuildsin interfaceBuildQueue- Parameters:
items- items to removeuser- user who performs operationcomment- comment to use for remove operation
-
terminateQueuedBuild
public void terminateQueuedBuild(@NotNull SQueuedBuild queuedBuild, @Nullable SUser user, boolean isCanceled, @Nullable String comment, @NotNull BuildProblemData buildProblemData)Description copied from interface:BuildQueueExRemoves specified queued build from the queue and creates a history build entry for it.- Specified by:
terminateQueuedBuildin interfaceBuildQueueEx- Parameters:
queuedBuild- a queued build to terminateuser- user who performs operationisCanceled- whether to create cancelation info for a history build entry. Status of the created build is also detrmined by this parameter: true->UNKNOWN, false->FAILURE.comment- comment to use for logging during remove operation as well as cancellation info comment if 'isCanceled' is truebuildProblemData- build problem to add to the history build
-
removeAllFromQueue
public void removeAllFromQueue(String buildTypeId, SUser user, String comment)
Description copied from interface:BuildQueueExRemoves all items from the queue which correspond to specified build configuration.- Specified by:
removeAllFromQueuein interfaceBuildQueueEx- Parameters:
buildTypeId- id of build configurationuser- usercomment- comment
-
getOrderNumber
public int getOrderNumber(@NotNull SQueuedBuild queuedBuild)Description copied from interface:BuildQueueExReturns order number of the specified queued build- Specified by:
getOrderNumberin interfaceBuildQueueEx- Parameters:
queuedBuild- queued build- Returns:
- order number or 0 if specified queued build does not exist
-
findPersonalBuildsByPersonalChangeListId
public List<SQueuedBuild> findPersonalBuildsByPersonalChangeListId(long personalChangeListId)
- Specified by:
findPersonalBuildsByPersonalChangeListIdin interfaceBuildQueueEx
-
removeAllFromQueue
public void removeAllFromQueue(String buildTypeId)
Description copied from interface:BuildQueueExRemoves all items from the queue which correspond to specified build configuration.- Specified by:
removeAllFromQueuein interfaceBuildQueueEx- Parameters:
buildTypeId- id of build configuration
-
removeAllFromQueue
public void removeAllFromQueue()
Description copied from interface:BuildQueueExRemoves all items from the queue- Specified by:
removeAllFromQueuein interfaceBuildQueueEx
-
applyOrder
public void applyOrder(@NotNull String[] itemIds)Description copied from interface:BuildQueueApplies new order to the build queue.- Specified by:
applyOrderin interfaceBuildQueue- Parameters:
itemIds- new order of queue items
-
moveTop
public void moveTop(String itemId)
Description copied from interface:BuildQueueMoves specified item to the top of the queue.- Specified by:
moveTopin interfaceBuildQueue- Parameters:
itemId- id of the item to move to the top of the queue
-
moveBottom
public void moveBottom(String itemId)
Description copied from interface:BuildQueueMoves specified item to the bottom of the queue.- Specified by:
moveBottomin interfaceBuildQueue- Parameters:
itemId- id of the item to move to the bottom of the queue
-
resetQueue
public void resetQueue()
Description copied from interface:BuildQueueInitClears all queue items but does not persist queue, should be called beforeBuildQueueInit.loadQueue()method.- Specified by:
resetQueuein interfaceBuildQueueInit
-
loadQueue
public void loadQueue()
Description copied from interface:BuildQueueInitLoads queue from the database.- Specified by:
loadQueuein interfaceBuildQueueInit
-
setMergeBuildsInQueue
public void setMergeBuildsInQueue(boolean mergeBuildsInQueue)
-
mergeBuilds
public boolean mergeBuilds(@Nullable Predicate<SQueuedBuild> queuedBuildsFilter)Description copied from interface:BuildQueueExOptimizes build queue by removing builds which can be safely substituted by newer builds added to the queue.- Specified by:
mergeBuildsin interfaceBuildQueueEx- Parameters:
queuedBuildsFilter- filter to apply to the queue builds, if the filter returns false then the queued build won't participate in the optimization, if null then all currently queued builds will be optimized- Returns:
- true if queue was changed and false otherwise
-
optimizeChains
public boolean optimizeChains(@NotNull List<BuildPromotionEx> buildPromotions)Description copied from interface:BuildQueueExOptimizes build chains, i.e. reassigns builds to started builds if possible. If during optimization some of the build promotions are removed from the chains, their queued builds will be removed from the queue as well.- Specified by:
optimizeChainsin interfaceBuildQueueEx- Parameters:
buildPromotions- build promotions to optimize- Returns:
- true if at least one build was removed from the queue as a result of optimization
-
restoreInQueue
@NotNull public List<QueuedBuildEx> restoreInQueue(@NotNull BuildPromotionEx promo, @Nullable SAgentRestrictor agentRestrictor, @NotNull String rawTriggeredBy)
Description copied from interface:BuildQueueExRe-adds build into the queue. A copy of specified build promotion will be created, if there were snapshot dependencies on the original build they will be moved to the new one.- Specified by:
restoreInQueuein interfaceBuildQueueEx- Parameters:
promo- original promoagentRestrictor- agent restrictorrawTriggeredBy- triggered by- Returns:
- newly added queued builds
-
setOrderingStrategy
public void setOrderingStrategy(@NotNull BuildQueueOrderingStrategy strategy)Description copied from interface:BuildQueueExAssign ordering strategy for this build queue- Specified by:
setOrderingStrategyin interfaceBuildQueueEx- Parameters:
strategy- new ordering strategy
-
getItemsEx
@NotNull public List<QueuedBuildEx> getItemsEx()
- Specified by:
getItemsExin interfaceBuildQueueEx
-
getPersistedItemsEx
@NotNull public List<QueuedBuildEx> getPersistedItemsEx()
- Specified by:
getPersistedItemsExin interfaceBuildQueueEx
-
computeBuildsToMerge
@NotNull public Collection<QueuedBuildEx> computeBuildsToMerge()
Computes queued builds which can be removed from the queue as a result of "merge optimization", i.e. when bigger build chain consumes a smaller one if both of them have the same changes. This method does not change the queue and currently is only used in tests.- Returns:
-
newTriggerTask
@NotNull public TriggerTask newTriggerTask(@NotNull BuildPromotion promotion)
Description copied from interface:BatchTriggerCreates new trigger task based on specified build promotion.- Specified by:
newTriggerTaskin interfaceBatchTrigger- Parameters:
promotion- build promotion which will be added to the queue- Returns:
- new task
-
processTasks
@NotNull public List<SQueuedBuild> processTasks(@NotNull Collection<TriggerTask> tasks, @NotNull String triggeredBy)
Description copied from interface:BatchTriggerProcesses collection of trigger tasks, by adding builds in the queue with parameters specified in these tasks.- Specified by:
processTasksin interfaceBatchTrigger- Parameters:
tasks- trigger tasks describing how to add builds in the queuetriggeredBy- some information about who triggers these builds- Returns:
- list of queued builds, sorted by their order number in the queue
-
moveDependenciesToTop
public void moveDependenciesToTop(@NotNull BuildPromotion promotion)Description copied from interface:BuildQueueExMoves dependencies of given promotion to the top of the queue- Specified by:
moveDependenciesToTopin interfaceBuildQueueEx- Parameters:
promotion- build promotion
-
hasPendingReloadTask
@TestOnly public boolean hasPendingReloadTask()
-
scheduleBuildQueueReload
public void scheduleBuildQueueReload()
Description copied from interface:BuildQueueExSends event to reload queue from database (for debug API, TW-85394)- Specified by:
scheduleBuildQueueReloadin interfaceBuildQueueEx
-
-