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 TypeMethodDescriptionintvoidvoidvoidrestore(AuditStorage auditStorage, int batchSize, int keepAlive) Restore the backend from the givenAuditStorageMethods inherited from interface org.nuxeo.ecm.platform.audit.api.AuditAdmin
getEventsCount, syncLogCreationEntriesMethods inherited from interface org.nuxeo.ecm.platform.audit.api.AuditLogger
addLogEntries, await, buildEntryFromEvent, getAuditableEventNames, logEvent, logEvents, newExtendedInfo, newLogEntryMethods 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
-