Class BuildDataStorageWarmUp
- java.lang.Object
-
- jetbrains.buildServer.serverSide.statistics.impl.BuildDataStorageWarmUp
-
- All Implemented Interfaces:
ServerWarmUpExtension
public class BuildDataStorageWarmUp extends Object implements ServerWarmUpExtension
Created by Andrey Titov on 6/28/17.
-
-
Constructor Summary
Constructors Constructor Description BuildDataStorageWarmUp(BuildDataStorage buildDataStorage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoWarmUp(Collection<SBuildType> buildTypes)This method will be executed during server warm-up inBuildTypeDataPrefetcher.StringgetDescription()
-
-
-
Constructor Detail
-
BuildDataStorageWarmUp
public BuildDataStorageWarmUp(@NotNull BuildDataStorage buildDataStorage)
-
-
Method Detail
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceServerWarmUpExtension- Returns:
- a description for this warm-up which will be used for logging and thread name patching.
-
doWarmUp
public void doWarmUp(@NotNull Collection<SBuildType> buildTypes)Description copied from interface:ServerWarmUpExtensionThis method will be executed during server warm-up inBuildTypeDataPrefetcher. Warm-up process is executed in one separate thread in normal priority pool.- Specified by:
doWarmUpin interfaceServerWarmUpExtension- Parameters:
buildTypes- A collection of build types which are commonly used (seeRecentlyUsedBuildTypes)
-
-