Class SimpleAuditEventLogger

All Implemented Interfaces:
io.deephaven.enterprise.auth.audit.AuditEventLogger, io.deephaven.shadow.enterprise.com.illumon.util.audit.AuditEventLoggerBasic, io.deephaven.shadow.enterprise.com.illumon.util.audit.AuditEventLoggerBasicEx

@InternalUseOnly public class SimpleAuditEventLogger extends BinaryRowLoggerDnd implements io.deephaven.enterprise.auth.audit.AuditEventLogger, io.deephaven.shadow.enterprise.com.illumon.util.audit.AuditEventLoggerBasicEx
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.deephaven.enterprise.auth.audit.AuditEventLogger

    io.deephaven.enterprise.auth.audit.AuditEventLogger.Null

    Nested classes/interfaces inherited from interface io.deephaven.shadow.enterprise.com.illumon.util.audit.AuditEventLoggerBasicEx

    io.deephaven.shadow.enterprise.com.illumon.util.audit.AuditEventLoggerBasicEx.Null
  • Field Summary

    Fields inherited from class io.deephaven.enterprise.dnd.logger.engine.impl.BinaryRowLoggerDnd

    binaryRowPool, CURRENT_DATE_SENTINEL, lasTableWriter, partitionFormatter
  • Constructor Summary

    Constructors
    Constructor
    Description
    SimpleAuditEventLogger(Map<String,Object> constantValues, io.deephaven.enterprise.auth.UserContext defaultUserContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    event(io.deephaven.enterprise.auth.audit.AuditEvent auditEvent)
     
    static @NotNull SimpleAuditEventLogger
    Retrieve the singleton instance of the SimpleAuditEventLogger.
    void
    log(io.deephaven.enterprise.auth.UserContext user, String namespace, String tableName, String event, String details)
     
    void
    log(String event, String details)
     
    void
    log(String namespace, String tableName, String event, String details)
     
    static void
    Set an instance of the SimpleAuditEventLogger.

    Methods inherited from class io.deephaven.enterprise.dnd.logger.engine.impl.BinaryRowLoggerDnd

    close

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.deephaven.enterprise.auth.audit.AuditEventLogger

    event

    Methods inherited from interface io.deephaven.shadow.enterprise.com.illumon.util.audit.AuditEventLoggerBasicEx

    basicAuditEventBuilder
  • Constructor Details

    • SimpleAuditEventLogger

      public SimpleAuditEventLogger(Map<String,Object> constantValues, io.deephaven.enterprise.auth.UserContext defaultUserContext)
  • Method Details

    • setInstance

      public static void setInstance(@NotNull @NotNull SimpleAuditEventLogger logger)
      Set an instance of the SimpleAuditEventLogger. This must only be called once from the DnD main; and is not intended for user code.
      Parameters:
      logger - the logger for the singleton.
    • getInstance

      @NotNull public static @NotNull SimpleAuditEventLogger getInstance()
      Retrieve the singleton instance of the SimpleAuditEventLogger.
      Returns:
      the singleton instance of the SimpleAuditEventLogger
      Throws:
      IllegalStateException - if the singleton has not been set
    • event

      public void event(io.deephaven.enterprise.auth.audit.AuditEvent auditEvent)
      Specified by:
      event in interface io.deephaven.enterprise.auth.audit.AuditEventLogger
    • log

      public void log(String namespace, String tableName, String event, String details)
      Specified by:
      log in interface io.deephaven.shadow.enterprise.com.illumon.util.audit.AuditEventLoggerBasicEx
    • log

      public void log(io.deephaven.enterprise.auth.UserContext user, String namespace, String tableName, String event, String details)
      Specified by:
      log in interface io.deephaven.shadow.enterprise.com.illumon.util.audit.AuditEventLoggerBasicEx
    • log

      public void log(String event, String details)
      Specified by:
      log in interface io.deephaven.shadow.enterprise.com.illumon.util.audit.AuditEventLoggerBasic