Package org.wildfly.security.audit
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
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
close()
Close the endpoint and stop handling further events immediately.
-
-
-
Method Detail
-
close
default void close() throws IOException
Close the endpoint and stop handling further events immediately.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
- if an error occurs closing the endpoint.
-
-