Interface AuditEndpoint

All Superinterfaces:
AutoCloseable, Closeable, org.wildfly.common.function.ExceptionBiConsumer<EventPriority,String,IOException>
All Known Implementing Classes:
FileAuditEndpoint, PeriodicRotatingFileAuditEndpoint, SizeRotatingFileAuditEndpoint, SyslogAuditEndpoint
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AuditEndpoint extends org.wildfly.common.function.ExceptionBiConsumer<EventPriority,String,IOException>, Closeable
An endpoint that receives audit messages.
Author:
Darran Lofthouse
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Close the endpoint and stop handling further events immediately.

    Methods inherited from interface org.wildfly.common.function.ExceptionBiConsumer

    accept, andThen, compose
  • Method Details

    • close

      default void close() throws IOException
      Close the endpoint and stop handling further events immediately.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException - if an error occurs closing the endpoint.