Class JobBuildResultSharder
java.lang.Object
hudson.plugins.global_build_stats.model.JobBuildResultSharder
- Author:
- fcamblor POJO which responsibility is to : - Shard JobBuildResult into several monthly files when saving / loading JobBuildResults - Allow to queue add and remove of job build results before a save
-
Constructor Summary
ConstructorDescriptionJobBuildResultSharder
(JobBuildResultSharder sharder, List<JobBuildResult> jobBuildResults) -
Method Summary
Modifier and TypeMethodDescriptionvoid
static List<JobBuildResult>
load()
boolean
void
queueResultsToAdd
(List<JobBuildResult> results) void
queueResultsToRemove
(List<JobBuildResult> results) void
queueResultToAdd
(JobBuildResult result) void
queueResultToRemove
(JobBuildResult result)
-
Constructor Details
-
JobBuildResultSharder
public JobBuildResultSharder() -
JobBuildResultSharder
-
-
Method Details
-
queueResultToAdd
-
queueResultsToAdd
-
queueResultToRemove
-
queueResultsToRemove
-
applyQueuedResultsInFiles
public void applyQueuedResultsInFiles() -
load
-
getJobBuildResults
-
pendingChanges
public boolean pendingChanges()
-