Package com.influxdb.client.write.events
Class WriteSuccessEvent
java.lang.Object
com.influxdb.client.write.events.AbstractWriteEvent
com.influxdb.client.write.events.WriteSuccessEvent
The event is published when arrived the success response from InfluxDB 2.x server.
- Author:
- Jakub Bednar (bednar@github) (25/09/2018 12:26)
-
Constructor Summary
ConstructorDescriptionWriteSuccessEvent
(String organization, String bucket, WritePrecision precision, String lineProtocol) -
Method Summary
-
Constructor Details
-
WriteSuccessEvent
public WriteSuccessEvent(@Nonnull String organization, @Nonnull String bucket, @Nonnull WritePrecision precision, @Nonnull String lineProtocol)
-
-
Method Details
-
getOrganization
- Returns:
- The organization that was used for write data.
-
getBucket
- Returns:
- The bucket that was used for write data.
-
getPrecision
- Returns:
- The Precision that was used for write data.
-
getLineProtocol
- Returns:
- The successfully written data.
-
logEvent
public void logEvent()Description copied from class:AbstractWriteEvent
Log current event byLogger
.- Specified by:
logEvent
in classAbstractWriteEvent
-