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
Modifier and TypeMethodDescriptiondefault voidclose()Close the endpoint and stop handling further events immediately.Methods inherited from interface org.wildfly.common.function.ExceptionBiConsumer
accept, andThen, compose
-
Method Details
-
close
Close the endpoint and stop handling further events immediately.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException- if an error occurs closing the endpoint.
-