Package io.deephaven.enterprise.dnd
Class SimpleAuditEventLogger
java.lang.Object
io.deephaven.enterprise.dnd.logger.engine.impl.BinaryRowLoggerDnd
io.deephaven.enterprise.dnd.SimpleAuditEventLogger
- All Implemented Interfaces:
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 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
AuditEventLogger.NullNested 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, binaryTableWriter, CURRENT_DATE_SENTINEL, partitionFormatter -
Constructor Summary
ConstructorsConstructorDescriptionSimpleAuditEventLogger(Map<String, Object> constantValues, UserContext defaultUserContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidevent(AuditEvent auditEvent) static @NotNull SimpleAuditEventLoggerRetrieve the singleton instance of the SimpleAuditEventLogger.voidvoidvoidstatic voidsetInstance(@NotNull SimpleAuditEventLogger logger) Set an instance of the SimpleAuditEventLogger.Methods inherited from class io.deephaven.enterprise.dnd.logger.engine.impl.BinaryRowLoggerDnd
closeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.enterprise.auth.audit.AuditEventLogger
eventMethods inherited from interface io.deephaven.shadow.enterprise.com.illumon.util.audit.AuditEventLoggerBasicEx
basicAuditEventBuilder
-
Constructor Details
-
SimpleAuditEventLogger
-
-
Method Details
-
setInstance
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
Retrieve the singleton instance of the SimpleAuditEventLogger.- Returns:
- the singleton instance of the SimpleAuditEventLogger
- Throws:
IllegalStateException- if the singleton has not been set
-
event
- Specified by:
eventin interfaceAuditEventLogger
-
log
- Specified by:
login interfaceio.deephaven.shadow.enterprise.com.illumon.util.audit.AuditEventLoggerBasicEx
-
log
- Specified by:
login interfaceio.deephaven.shadow.enterprise.com.illumon.util.audit.AuditEventLoggerBasicEx
-
log
- Specified by:
login interfaceio.deephaven.shadow.enterprise.com.illumon.util.audit.AuditEventLoggerBasic
-