Interface NodeServiceAuditor

All Known Implementing Classes:
JdbcNodeServiceAuditor, JdbcUserServiceAuditor

public interface NodeServiceAuditor
API for auditing node service events in SolarNetwork.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    auditNodeService(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

      void auditNodeService(Long nodeId, String service, int count)
      Audit the creation of an instruction for a node.
      Parameters:
      nodeId - the node ID
      service - the service name
      count - the amount to add