Interface BufferingAuditService

All Known Implementing Classes:
DefaultBufferingAuditService

public interface BufferingAuditService
A wrapper for AuditService that provides buffering capabilities during Jira start-up.
Since:
v8.12
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    auditOrPutToQueue(Supplier<com.atlassian.audit.entity.AuditEvent> eventSupplier)
    Will buffer event suppliers without calling them until event notification signalling that Jira has finished its start-up is received.
  • Method Details

    • auditOrPutToQueue

      void auditOrPutToQueue(Supplier<com.atlassian.audit.entity.AuditEvent> eventSupplier)
      Will buffer event suppliers without calling them until event notification signalling that Jira has finished its start-up is received. After that notification is received, it will always forward calls to AuditService directly.
      Parameters:
      eventSupplier - - event supplier that will be either buffered or called