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 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
- IOException
List<AuditEntry> fetchAuditHistory(String key, String type, org.joda.time.Interval interval)
key
- type
- interval
- Copyright © 2011–2015. All rights reserved.