Package org.apache.cassandra.audit
Interface IAuditLogger
-
- All Known Implementing Classes:
BinAuditLogger
,DiagnosticEventAuditLogger
,FileAuditLogger
,NoOpAuditLogger
public interface IAuditLogger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isEnabled()
void
log(AuditLogEntry auditLogEntry)
Logs AuditLogEntry.void
stop()
Stop and cleanup any resources of IAuditLogger implementations.
-
-
-
Method Detail
-
isEnabled
boolean isEnabled()
-
log
void log(AuditLogEntry auditLogEntry)
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.
-
-