Package org.apache.cassandra.audit
Interface IAuditLogger
- All Known Implementing Classes:
BinAuditLogger,DiagnosticEventAuditLogger,FileAuditLogger,NoOpAuditLogger
public interface IAuditLogger
-
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidlog(AuditLogEntry auditLogEntry) Logs AuditLogEntry.voidstop()Stop and cleanup any resources of IAuditLogger implementations.
-
Method Details
-
isEnabled
boolean isEnabled() -
log
Logs AuditLogEntry. This method might be called afterstop(), hence implementations need to handle the race condition. -
stop
void stop()Stop and cleanup any resources of IAuditLogger implementations. Please note thatlog(AuditLogEntry)might be called after being stopped.
-