Package net.solarnetwork.central.biz
Interface NodeServiceAuditor
- All Known Implementing Classes:
JdbcNodeServiceAuditor,JdbcUserServiceAuditor
public interface NodeServiceAuditor
API for auditing node service events in SolarNetwork.
-
Method Summary
Modifier and TypeMethodDescriptionvoidauditNodeService(Long nodeId, String service, int count) Audit the creation of an instruction for a node.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
-
auditNodeService
Audit the creation of an instruction for a node.- Parameters:
nodeId- the node IDservice- the service namecount- the amount to add
-