Interface AuditBackend<L extends LogEntry>

Type Parameters:
L - to give the log entry type for the new AuditBackend interface that defines a new entry type.
All Superinterfaces:
AuditAdmin, AuditLogger<L>, AuditReader<L>, Logs<L>
All Known Subinterfaces:
AuditBackend
All Known Implementing Classes:
AbstractAuditBackend, AbstractAuditBackend, DefaultAuditBackend, MemAuditBackend, MongoDBAuditBackend, OpenSearchAuditBackend, SQLAuditBackend

@Deprecated(since="2025.0", forRemoval=true) public interface AuditBackend<L extends LogEntry> extends Logs<L>
Deprecated, for removal: This API element is subject to removal in a future version.
since 2025.0, use AuditBackend instead
Audit Backend SPI
Author:
tiry
  • Method Details

    • getApplicationStartedOrder

      @Deprecated(since="2025.0", forRemoval=true) int getApplicationStartedOrder()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 2025.0, not needed since introduction of AuditBackendFactory
    • onApplicationStarted

      @Deprecated(since="2025.0", forRemoval=true) void onApplicationStarted()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 2025.0, not needed since introduction of AuditBackendFactory
    • onApplicationStopped

      @Deprecated(since="2025.0", forRemoval=true) void onApplicationStopped()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 2025.0, not needed since introduction of AuditBackendFactory
      Since:
      9.2
    • restore

      void restore(AuditStorage auditStorage, int batchSize, int keepAlive)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Restore the backend from the given AuditStorage
      Parameters:
      auditStorage - the audit storage
      batchSize - the batch size
      keepAlive - the keep alive duration
      Since:
      9.3