public class RemoteAgentsAnalyticsServiceImpl extends Object implements RemoteAgentsAnalyticsService
Constructor and Description |
---|
RemoteAgentsAnalyticsServiceImpl(AgentManager agentManager) |
Modifier and Type | Method and Description |
---|---|
Map<JavaVersion,Integer> |
getAndResetJavaVersionUsageStatistics()
Get current Java Version usage statistics and reset them
|
Map<OsType,Integer> |
getAndResetOsUsageStatistics()
Get current OS usage statistics and reset them
|
void |
recordJavaVersionUsageByAgent(long agentId,
JavaVersion javaVersion)
Record Java Version usage by given agent
|
void |
recordOsUsageByAgent(long agentId,
OsType osType)
Record OS usage by given agent
|
public RemoteAgentsAnalyticsServiceImpl(AgentManager agentManager)
public void recordOsUsageByAgent(long agentId, OsType osType)
RemoteAgentsAnalyticsService
recordOsUsageByAgent
in interface RemoteAgentsAnalyticsService
public void recordJavaVersionUsageByAgent(long agentId, JavaVersion javaVersion)
RemoteAgentsAnalyticsService
recordJavaVersionUsageByAgent
in interface RemoteAgentsAnalyticsService
public Map<OsType,Integer> getAndResetOsUsageStatistics()
RemoteAgentsAnalyticsService
getAndResetOsUsageStatistics
in interface RemoteAgentsAnalyticsService
public Map<JavaVersion,Integer> getAndResetJavaVersionUsageStatistics()
RemoteAgentsAnalyticsService
getAndResetJavaVersionUsageStatistics
in interface RemoteAgentsAnalyticsService
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.