public class RemoteAgentsOsUsageAnalyticsServiceImpl extends Object implements RemoteAgentsOsUsageAnalyticsService
Constructor and Description |
---|
RemoteAgentsOsUsageAnalyticsServiceImpl(AgentManager agentManager) |
Modifier and Type | Method and Description |
---|---|
Map<OsType,Integer> |
getAndResetStatistics()
Get current OS usage statistics and reset them
|
void |
recordOsUsageByAgent(long agentId,
OsType osType)
Record OS usage by given agent
|
public RemoteAgentsOsUsageAnalyticsServiceImpl(AgentManager agentManager)
public void recordOsUsageByAgent(long agentId, OsType osType)
RemoteAgentsOsUsageAnalyticsService
recordOsUsageByAgent
in interface RemoteAgentsOsUsageAnalyticsService
public Map<OsType,Integer> getAndResetStatistics()
RemoteAgentsOsUsageAnalyticsService
getAndResetStatistics
in interface RemoteAgentsOsUsageAnalyticsService
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.