jetbrains.buildServer.serverSide.executors
Interface ExecutorServices
public interface ExecutorServices
Provides access to the server-side executor services. Each executor is intended for its own specific type of tasks.
Currently there are two executors - the normal executor and the low priority executor.
Normal executor should be used for submitting scheduled tasks and tasks that are critical for the TeamCity application, e.g. checking for changes, agent pinging, etc.
Non-critical tasks or tasks that can be interrupted without serious consequences, such as backround caching etc., should be submitted to the low priority executor.
- Author:
- Sergey.Anchipolevsky
Date: 03.09.2010
getNormalExecutorService
@NotNull
java.util.concurrent.ScheduledExecutorService getNormalExecutorService()
- Returns:
- normal executor service
getLowPriorityExecutorService
@NotNull
java.util.concurrent.ExecutorService getLowPriorityExecutorService()
- Returns:
- low priority executor service