Class ElasticsearchOutputAggregator
java.lang.Object
java.io.Writer
com.internetitem.logback.elasticsearch.ElasticsearchOutputAggregator
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
public class ElasticsearchOutputAggregator extends Writer
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ElasticsearchOutputAggregator(Settings settings, ErrorReporter errorReporter) -
Method Summary
Modifier and Type Method Description voidaddWriter(SafeWriter writer)voidclose()voidflush()booleanhasOutputs()booleanhasPendingData()booleansendData()voidwrite(char[] cbuf, int off, int len)
-
Constructor Details
-
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
-