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 IAuditLogger
public boolean isEnabled()
isEnabled
in interface IAuditLogger
public void log(AuditLogEntry auditLogEntry)
IAuditLogger
IAuditLogger.stop()
,
hence implementations need to handle the race condition.log
in interface IAuditLogger
Copyright © 2009-2021 The Apache Software Foundation