Class ConcurrentAgentsAnalyticsServiceImpl
java.lang.Object
com.atlassian.bamboo.analytics.basedata.collector.service.ConcurrentAgentsAnalyticsServiceImpl
- All Implemented Interfaces:
ConcurrentAgentsAnalyticsService
public class ConcurrentAgentsAnalyticsServiceImpl
extends Object
implements ConcurrentAgentsAnalyticsService
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.analytics.basedata.collector.service.ConcurrentAgentsAnalyticsService
BAMBOO_BASE_CONCURRENT_MAX_ALL, BAMBOO_BASE_CONCURRENT_MAX_DEPLOYMENTS, BAMBOO_BASE_CONCURRENT_MAX_JOBS
-
Constructor Summary
ConstructorsConstructorDescriptionConcurrentAgentsAnalyticsServiceImpl
(com.atlassian.event.api.EventPublisher eventPublisher) -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
clears all collections used by this service and zeroes countersreturns max values and resets them to current valuevoid
void
void
onBuildFinished
(@NotNull BuildFinishedEvent event) void
void
void
onDeploymentFinished
(@NotNull DeploymentFinishedEvent event)
-
Constructor Details
-
ConcurrentAgentsAnalyticsServiceImpl
@Inject public ConcurrentAgentsAnalyticsServiceImpl(com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Details
-
getValuesAndReset
Description copied from interface:ConcurrentAgentsAnalyticsService
returns max values and resets them to current value- Specified by:
getValuesAndReset
in interfaceConcurrentAgentsAnalyticsService
-
clear
public void clear()Description copied from interface:ConcurrentAgentsAnalyticsService
clears all collections used by this service and zeroes counters- Specified by:
clear
in interfaceConcurrentAgentsAnalyticsService
-
onBuildAgentAssigned
@EventListener public void onBuildAgentAssigned(@NotNull OutOfBandBuildTimingPoints.AgentAssigned event) -
onBuildExecutionFinished
@EventListener public void onBuildExecutionFinished(@NotNull OutOfBandBuildTimingPoints.ExecutionFinished event) -
onBuildFinished
-
onDeploymentAgentAssigned
@EventListener public void onDeploymentAgentAssigned(@NotNull OutOfBandDeploymentTimingPoints.AgentAssigned event) -
onDeploymentExecutionFinished
@EventListener public void onDeploymentExecutionFinished(@NotNull OutOfBandDeploymentTimingPoints.ExecutionFinished event) -
onDeploymentFinished
-