Class SinkProvider
- java.lang.Object
-
- com.floragunn.searchguard.auditlog.sink.SinkProvider
-
public class SinkProvider extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.logging.log4j.Loggerlog
-
Constructor Summary
Constructors Constructor Description SinkProvider(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.client.Client clientProvider, org.elasticsearch.threadpool.ThreadPool threadPool, Path configPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected voidclose(AuditLogSink sink)AuditLogSinkgetDefaultSink()AuditLogSinkgetSink(String sinkName)
-
-
-
Constructor Detail
-
SinkProvider
public SinkProvider(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.client.Client clientProvider, org.elasticsearch.threadpool.ThreadPool threadPool, Path configPath)
-
-
Method Detail
-
getSink
public AuditLogSink getSink(String sinkName)
-
getDefaultSink
public AuditLogSink getDefaultSink()
-
close
public void close()
-
close
protected void close(AuditLogSink sink)
-
-