public interface StatsService
| Modifier and Type | Method and Description |
|---|---|
Map<Long,Integer> |
getByClientId()
Calculate usage count for all clients
|
Integer |
getCountForClientId(Long id)
Calculate the usage count for a single client
|
Map<String,Integer> |
getSummaryStats()
Calculate summary statistics
approvalCount: total approved sites
userCount: unique users
clientCount: unique clients
|
void |
resetCache()
Trigger the stats to be recalculated upon next update.
|
Map<String,Integer> getSummaryStats()
Map<Long,Integer> getByClientId()
Integer getCountForClientId(Long id)
id - the id of the client to search onvoid resetCache()
Copyright © 2015. All Rights Reserved.