public interface AuditBackend extends Logs
Modifier and Type | Method and Description |
---|---|
int |
getApplicationStartedOrder() |
void |
onApplicationStarted() |
default void |
onApplicationStopped() |
default void |
onShutdown()
Deprecated.
since 9.2 replaced with
onApplicationStopped() |
void |
restore(AuditStorage auditStorage,
int batchSize,
int keepAlive)
Restore the backend from the given
AuditStorage |
getLatestLogId, getLogEntriesAfter, getLogEntriesFor, getLogEntriesFor, getLogEntriesFor, getLogEntryByID, nativeQuery, nativeQuery, nativeQueryLogs, queryLogs, queryLogs, queryLogsByPage, queryLogsByPage, queryLogsByPage, queryLogsByPage
addLogEntries, await, buildEntryFromEvent, getAuditableEventNames, logEvent, logEvents, newExtendedInfo, newLogEntry
getEventsCount, syncLogCreationEntries
int getApplicationStartedOrder()
void onApplicationStarted()
default void onApplicationStopped()
onShutdown()
@Deprecated default void onShutdown()
onApplicationStopped()
void restore(AuditStorage auditStorage, int batchSize, int keepAlive)
AuditStorage
auditStorage
- the audit storagebatchSize
- the batch sizekeepAlive
- the keep alive durationCopyright © 2018 Nuxeo. All rights reserved.