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 TypeMethodDescriptionvoidclear()clears all collections used by this service and zeroes countersreturns max values and resets them to current valuevoidvoidvoidonBuildFinished(@NotNull BuildFinishedEvent event) voidvoidvoidonDeploymentFinished(@NotNull DeploymentFinishedEvent event)
-
Constructor Details
-
ConcurrentAgentsAnalyticsServiceImpl
@Inject public ConcurrentAgentsAnalyticsServiceImpl(com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Details
-
getValuesAndReset
Description copied from interface:ConcurrentAgentsAnalyticsServicereturns max values and resets them to current value- Specified by:
getValuesAndResetin interfaceConcurrentAgentsAnalyticsService
-
clear
public void clear()Description copied from interface:ConcurrentAgentsAnalyticsServiceclears all collections used by this service and zeroes counters- Specified by:
clearin 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
-