Interface RemoteAgentsAnalyticsService

  • All Known Implementing Classes:
    RemoteAgentsAnalyticsServiceImpl

    @Internal
    public interface RemoteAgentsAnalyticsService
    Service that collects statistic on OS and Java Version usage by remote agents
    • Method Detail

      • recordOsUsageByAgent

        void recordOsUsageByAgent​(long agentId,
                                  OsType osType)
        Record OS usage by given agent
      • recordJavaVersionUsageByAgent

        void recordJavaVersionUsageByAgent​(long agentId,
                                           JavaVersion javaVersion)
        Record Java Version usage by given agent
      • getAndResetOsUsageStatistics

        Map<OsType,​Integer> getAndResetOsUsageStatistics()
        Get current OS usage statistics and reset them
      • getAndResetJavaVersionUsageStatistics

        Map<JavaVersion,​Integer> getAndResetJavaVersionUsageStatistics()
        Get current Java Version usage statistics and reset them