public interface AuditManager
| Modifier and Type | Field and Description |
|---|---|
static String |
X_DRUID_AUTHOR |
static String |
X_DRUID_COMMENT |
| Modifier and Type | Method and Description |
|---|---|
void |
doAudit(AuditEntry auditEntry)
inserts an audit Entry in the Audit Table
|
void |
doAudit(AuditEntry auditEntry,
org.skife.jdbi.v2.Handle handler)
inserts an audit Entry in audit table using the handler provided
used to do the audit in same transaction as the config changes
|
List<AuditEntry> |
fetchAuditHistory(String type,
int limit)
Provides last N entries of audit history for given type
|
List<AuditEntry> |
fetchAuditHistory(String type,
org.joda.time.Interval interval)
provides audit history for given type and interval
|
List<AuditEntry> |
fetchAuditHistory(String key,
String type,
int limit)
Provides last N entries of audit history for given key, type
|
List<AuditEntry> |
fetchAuditHistory(String key,
String type,
org.joda.time.Interval interval)
provides audit history for given key, type and interval
|
static final String X_DRUID_AUTHOR
static final String X_DRUID_COMMENT
void doAudit(AuditEntry auditEntry)
auditEntry - void doAudit(AuditEntry auditEntry, org.skife.jdbi.v2.Handle handler) throws IOException
auditEntry - handler - IOExceptionList<AuditEntry> fetchAuditHistory(String key, String type, org.joda.time.Interval interval)
key - type - interval - List<AuditEntry> fetchAuditHistory(String type, org.joda.time.Interval interval)
type - type of auditEntryinterval - interval for which to fetch auditHistoryList<AuditEntry> fetchAuditHistory(String key, String type, int limit)
key - type - limit - List<AuditEntry> fetchAuditHistory(String type, int limit)
type - type of auditEntrylimit - Copyright © 2011–2017. All rights reserved.