Interface AuditBackend
- All Superinterfaces:
AuditAdmin
,AuditLogger
,AuditReader
,Logs
- All Known Implementing Classes:
AbstractAuditBackend
,DefaultAuditBackend
,ESAuditBackend
,MongoDBAuditBackend
Audit Backend SPI
- Author:
- tiry
-
Method Summary
Modifier and TypeMethodDescriptionint
void
void
void
restore
(AuditStorage auditStorage, int batchSize, int keepAlive) Restore the backend from the givenAuditStorage
Methods inherited from interface org.nuxeo.ecm.platform.audit.api.AuditAdmin
getEventsCount, syncLogCreationEntries
Methods inherited from interface org.nuxeo.ecm.platform.audit.api.AuditLogger
addLogEntries, await, buildEntryFromEvent, getAuditableEventNames, logEvent, logEvents, newExtendedInfo, newLogEntry
Methods inherited from interface org.nuxeo.ecm.platform.audit.api.AuditReader
getLatestLogId, getLogEntriesAfter, getLogEntriesFor, getLogEntryByID, nativeQuery, nativeQuery, nativeQueryLogs, queryLogs, queryLogs, queryLogsByPage, queryLogsByPage, queryLogsByPage, queryLogsByPage
-
Method Details
-
getApplicationStartedOrder
int getApplicationStartedOrder() -
onApplicationStarted
void onApplicationStarted() -
onApplicationStopped
void onApplicationStopped()- Since:
- 9.2
-
restore
Restore the backend from the givenAuditStorage
- Parameters:
auditStorage
- the audit storagebatchSize
- the batch sizekeepAlive
- the keep alive duration- Since:
- 9.3
-