Package com.atlassian.jira.auditing
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 TypeMethodDescriptionvoid
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
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 toAuditService
directly.- Parameters:
eventSupplier
- - event supplier that will be either buffered or called
-