Interface Auditor

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
NullAuditor, Slf4jAuditor

public interface Auditor extends AutoCloseable
A Auditor is responsible for persisting AuditRecords.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Stores the given audit record.
    void
     
  • Method Details

    • audit

      void audit(AuditRecord rec)
      Stores the given audit record.
      Parameters:
      rec - record to write
    • close

      void close()
      Specified by:
      close in interface AutoCloseable