Class GlobalBuildStatsPluginSaver
java.lang.Object
hudson.plugins.global_build_stats.business.GlobalBuildStatsPluginSaver
- Author:
- fcamblor Class is intended to provide a unique access point to the GlobalBuildStatsPlugin modifier for save() action
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Single entry point to persist information on GlobalBuildStatsPlugin As the number of builds grow, the time it takes to execute "plugin.save()" become non-trivial, up to the order of minutes or more.
-
Constructor Details
-
GlobalBuildStatsPluginSaver
-
-
Method Details
-
reloadPlugin
public void reloadPlugin() -
updatePlugin
Single entry point to persist information on GlobalBuildStatsPlugin As the number of builds grow, the time it takes to execute "plugin.save()" become non-trivial, up to the order of minutes or more. So to prevent this from blocking executor threads that execute this callback, we use a separate thread to asynchronously persist them to the disk.
-