Package com.influxdb.client.write.events
Class BackpressureEvent
java.lang.Object
com.influxdb.client.write.events.AbstractWriteEvent
com.influxdb.client.write.events.BackpressureEvent
The event is published when is backpressure applied.
- Author:
- Jakub Bednar (bednar@github) (25/09/2018 12:27)
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionBackpressureEvent(BackpressureEvent.BackpressureReason reason, List<String> droppedLineProtocol) -
Method Summary
-
Constructor Details
-
BackpressureEvent
-
BackpressureEvent
public BackpressureEvent(@Nonnull BackpressureEvent.BackpressureReason reason, @Nullable List<String> droppedLineProtocol)
-
-
Method Details
-
logEvent
public void logEvent()Description copied from class:AbstractWriteEventLog current event byLogger.- Specified by:
logEventin classAbstractWriteEvent
-
getReason
- Returns:
- reason of the backpressure
-
getDroppedLineProtocol
- Returns:
- unmodifiable list of line protocol points in the buffer at the time of the backpressure event
-