@Internal public interface InternalAuditService extends AuditService
Modifier and Type | Method and Description |
---|---|
long |
getAuditLogSize() |
int |
removeEntriesOlderThan(Instant cutoff)
Removes entries created before the given instant
|
int |
removeStaleEntries()
Removes stale entries basing on current configuration
|
void |
saveAudits(Collection<AuditLogChangeset> changesets)
Persists the given audit log changesets.
|
getConfiguration, isEnabled, saveAudit, saveConfiguration, searchAuditLog, shouldAuditEvent
int removeStaleEntries()
int removeEntriesOlderThan(Instant cutoff)
void saveAudits(Collection<AuditLogChangeset> changesets)
changesets
- the changesets that will be persistedlong getAuditLogSize()
Copyright © 2020 Atlassian. All rights reserved.