Class AuditEvent

java.lang.Object
org.apache.cassandra.diag.DiagnosticEvent
org.apache.cassandra.audit.AuditEvent

public final class AuditEvent extends DiagnosticEvent
wrapper to expose audit events as DiagnosticEvents.
  • Method Details

    • getType

      public Enum<?> getType()
      Description copied from class: DiagnosticEvent
      Returns event type discriminator. This will usually be a enum value.
      Specified by:
      getType in class DiagnosticEvent
    • getSource

      public String getSource()
    • getEntry

      public AuditLogEntry getEntry()
    • toMap

      public Map<String,Serializable> toMap()
      Description copied from class: DiagnosticEvent
      Returns map of key-value pairs containing relevant event details. Values can be complex objects like other maps, but must be Serializable, as returned values may be consumed by external clients. It's strongly recommended to stick to standard Java classes to avoid distributing custom classes to clients and also prevent potential class versioning conflicts.
      Specified by:
      toMap in class DiagnosticEvent