public class BinAuditLogger extends java.lang.Object implements IAuditLogger
| Modifier and Type | Class and Description |
|---|---|
static class |
BinAuditLogger.Message |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AUDITLOG_MESSAGE |
static java.lang.String |
AUDITLOG_TYPE |
static long |
CURRENT_VERSION |
| Constructor and Description |
|---|
BinAuditLogger(java.util.Map<java.lang.String,java.lang.String> params) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled() |
void |
log(AuditLogEntry auditLogEntry)
Logs AuditLogEntry.
|
void |
stop()
Stop the audit log leaving behind any generated files.
|
public static final long CURRENT_VERSION
public static final java.lang.String AUDITLOG_TYPE
public static final java.lang.String AUDITLOG_MESSAGE
public BinAuditLogger(java.util.Map<java.lang.String,java.lang.String> params)
public void stop()
stop in interface IAuditLoggerpublic boolean isEnabled()
isEnabled in interface IAuditLoggerpublic void log(AuditLogEntry auditLogEntry)
IAuditLoggerIAuditLogger.stop(),
hence implementations need to handle the race condition.log in interface IAuditLoggerCopyright © 2009-2020 The Apache Software Foundation