Class TeamCityExecutorServicesImpl
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.executors.SimpleExecutorServices
-
- jetbrains.buildServer.serverSide.impl.executors.TeamCityExecutorServicesImpl
-
- All Implemented Interfaces:
PerPluginAwareRegistry
,ExecutorServices
,ExecutorServicesEx
,VcsExecutionServices
,ExecutorServiceManager
,ExecutorServicesController
public class TeamCityExecutorServicesImpl extends SimpleExecutorServices implements ExecutorServiceManager
-
-
Field Summary
-
Fields inherited from class jetbrains.buildServer.serverSide.impl.executors.SimpleExecutorServices
NORMAL_EXECUTOR_CORE_THREADS_NUM_PROP, NORMAL_EXECUTOR_MAX_THREADS_PROP
-
-
Constructor Summary
Constructors Constructor Description TeamCityExecutorServicesImpl(ServerMetrics serverMetrics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutorService
getBuildTriggersExecutorService()
ExecutorService
getCleanupExecutorService()
ExecutorService
getPeriodicalChangesCollectorService()
ExecutorService
getVcsChangesCollectorsExecutorService()
-
Methods inherited from class jetbrains.buildServer.serverSide.impl.executors.SimpleExecutorServices
awaitTermination, createWrapper, findExecutorByName, getLowPriorityExecutorService, getNormalExecutorService, initScalingExecutor, isShutdown, isTerminated, shutdownGracefully, shutdownNow, start
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.serverSide.impl.executors.ExecutorServiceManager
awaitTermination, isShutdown, isTerminated, shutdownGracefully, shutdownNow, start
-
Methods inherited from interface jetbrains.buildServer.serverSide.executors.ExecutorServices
getLowPriorityExecutorService, getNormalExecutorService
-
-
-
-
Constructor Detail
-
TeamCityExecutorServicesImpl
public TeamCityExecutorServicesImpl(@NotNull ServerMetrics serverMetrics)
-
-
Method Detail
-
getCleanupExecutorService
@NotNull public ExecutorService getCleanupExecutorService()
- Specified by:
getCleanupExecutorService
in interfaceExecutorServicesEx
- Returns:
- executor service for cleanup tasks
-
getBuildTriggersExecutorService
@NotNull public ExecutorService getBuildTriggersExecutorService()
- Specified by:
getBuildTriggersExecutorService
in interfaceExecutorServicesEx
- Returns:
- executor service for build triggers
-
getVcsChangesCollectorsExecutorService
@NotNull public ExecutorService getVcsChangesCollectorsExecutorService()
- Specified by:
getVcsChangesCollectorsExecutorService
in interfaceVcsExecutionServices
- Returns:
- executor service for VCS changes collection tasks
-
getPeriodicalChangesCollectorService
@NotNull public ExecutorService getPeriodicalChangesCollectorService()
- Specified by:
getPeriodicalChangesCollectorService
in interfaceVcsExecutionServices
- Returns:
- separate executor service to be used during periodical changes collecting
-
-