Package net.solarnetwork.central.biz
Interface UserServiceAuditor
- All Known Implementing Classes:
JdbcUserServiceAuditor
public interface UserServiceAuditor
API for auditing user service events in SolarNetwork.
-
Method Summary
Modifier and TypeMethodDescriptionvoidauditUserService(Long userId, String service, int count) Audit a service for a user.Get the clock used for auditing.
-
Method Details
-
getAuditClock
Clock getAuditClock()Get the clock used for auditing.This clock may bucket time into discreet intervals.
- Returns:
- the clock never null
-
auditUserService
Audit a service for a user.- Parameters:
userId- the user IDservice- the service namecount- the amount to add
-