@Service public class DefaultStatsService extends Object implements StatsService
Constructor and Description |
---|
DefaultStatsService() |
Modifier and Type | Method and Description |
---|---|
ClientStat |
getCountForClientId(String clientId) |
Map<String,Integer> |
getSummaryStats() |
void |
resetCache()
Reset both stats caches on a trigger (before the timer runs out).
|
public DefaultStatsService()
public Map<String,Integer> getSummaryStats()
getSummaryStats
in interface StatsService
public ClientStat getCountForClientId(String clientId)
getCountForClientId
in interface StatsService
public void resetCache()
resetCache
in interface StatsService
Copyright © 2022. All rights reserved.