Package org.graylog2.outputs
Class BlockingBatchedESOutput
java.lang.Object
org.graylog2.outputs.ElasticSearchOutput
org.graylog2.outputs.BlockingBatchedESOutput
- All Implemented Interfaces:
MessageOutput,Stoppable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic interfaceNested classes/interfaces inherited from interface org.graylog2.plugin.outputs.MessageOutput
MessageOutput.Factory2<T> -
Constructor Summary
ConstructorsConstructorDescriptionBlockingBatchedESOutput(com.codahale.metrics.MetricRegistry metricRegistry, Messages messages, Configuration serverConfiguration, Journal journal, MessageQueueAcknowledger acknowledger, Cluster cluster) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidstop()voidvoidwriteMessageEntry(Map.Entry<IndexSet, Message> entry) Methods inherited from class org.graylog2.outputs.ElasticSearchOutput
isRunning, write, writeMessageEntriesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graylog2.plugin.outputs.MessageOutput
initialize
-
Constructor Details
-
Method Details
-
write
- Specified by:
writein interfaceMessageOutput- Overrides:
writein classElasticSearchOutput- Throws:
Exception
-
writeMessageEntry
- Throws:
Exception
-
forceFlushIfTimedout
public void forceFlushIfTimedout() -
stop
public void stop()- Specified by:
stopin interfaceStoppable- Overrides:
stopin classElasticSearchOutput
-