Package com.agido.logback.elasticsearch
Class ElasticsearchOutputAggregator
java.lang.Object
java.io.Writer
com.agido.logback.elasticsearch.ElasticsearchOutputAggregator
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionElasticsearchOutputAggregator(Settings settings, ErrorReporter errorReporter) -
Method Summary
-
Constructor Details
-
ElasticsearchOutputAggregator
-
-
Method Details
-
addWriter
-
write
- Specified by:
writein classWriter- Throws:
IOException
-
hasPendingData
public boolean hasPendingData() -
hasOutputs
public boolean hasOutputs() -
sendData
public boolean sendData() -
flush
- Specified by:
flushin interfaceFlushable- Specified by:
flushin classWriter- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classWriter- Throws:
IOException
-