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
Modifier and TypeClassDescriptionstatic class
static class
static interface
Nested classes/interfaces inherited from interface org.graylog2.plugin.outputs.MessageOutput
MessageOutput.Factory2<T>
-
Constructor Summary
ConstructorDescriptionBlockingBatchedESOutput
(com.codahale.metrics.MetricRegistry metricRegistry, Messages messages, Configuration serverConfiguration, Journal journal, MessageQueueAcknowledger acknowledger, Cluster cluster) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
stop()
void
void
writeMessageEntry
(Map.Entry<IndexSet, Message> entry) Methods inherited from class org.graylog2.outputs.ElasticSearchOutput
isRunning, write, writeMessageEntries
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.graylog2.plugin.outputs.MessageOutput
initialize
-
Constructor Details
-
Method Details
-
write
- Specified by:
write
in interfaceMessageOutput
- Overrides:
write
in classElasticSearchOutput
- Throws:
Exception
-
writeMessageEntry
- Throws:
Exception
-
forceFlushIfTimedout
public void forceFlushIfTimedout() -
stop
public void stop()- Specified by:
stop
in interfaceStoppable
- Overrides:
stop
in classElasticSearchOutput
-