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 void
doWarmUp(Collection<SBuildType> buildTypes)
This method will be executed during server warm-up inBuildTypeDataPrefetcher
.String
getDescription()
-
-
-
Constructor Detail
-
BuildDataStorageWarmUp
public BuildDataStorageWarmUp(@NotNull BuildDataStorage buildDataStorage)
-
-
Method Detail
-
getDescription
public String getDescription()
- Specified by:
getDescription
in 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:ServerWarmUpExtension
This method will be executed during server warm-up inBuildTypeDataPrefetcher
. Warm-up process is executed in one separate thread in normal priority pool.- Specified by:
doWarmUp
in interfaceServerWarmUpExtension
- Parameters:
buildTypes
- A collection of build types which are commonly used (seeRecentlyUsedBuildTypes
)
-
-