Package org.apache.cassandra.audit
Class BinAuditLogger
java.lang.Object
org.apache.cassandra.audit.BinAuditLogger
- All Implemented Interfaces:
IAuditLogger
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBinAuditLogger(Map<String, String> params) BinAuditLogger(AuditLogOptions auditLoggingOptions) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidlog(AuditLogEntry auditLogEntry) Logs AuditLogEntry.voidstop()Stop the audit log leaving behind any generated files.
-
Field Details
-
CURRENT_VERSION
public static final long CURRENT_VERSION- See Also:
-
AUDITLOG_TYPE
- See Also:
-
AUDITLOG_MESSAGE
- See Also:
-
-
Constructor Details
-
BinAuditLogger
-
BinAuditLogger
-
-
Method Details
-
stop
public void stop()Stop the audit log leaving behind any generated files.- Specified by:
stopin interfaceIAuditLogger
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceIAuditLogger
-
log
Description copied from interface:IAuditLoggerLogs AuditLogEntry. This method might be called afterIAuditLogger.stop(), hence implementations need to handle the race condition.- Specified by:
login interfaceIAuditLogger
-