Class LogRecordFromDiskExporter

java.lang.Object
io.opentelemetry.contrib.disk.buffering.LogRecordFromDiskExporter
All Implemented Interfaces:
io.opentelemetry.contrib.disk.buffering.internal.exporter.FromDiskExporter

public class LogRecordFromDiskExporter extends Object implements io.opentelemetry.contrib.disk.buffering.internal.exporter.FromDiskExporter
  • Method Details

    • create

      public static LogRecordFromDiskExporter create(io.opentelemetry.sdk.logs.export.LogRecordExporter exporter, StorageConfiguration config) throws IOException
      Throws:
      IOException
    • exportStoredBatch

      public boolean exportStoredBatch(long timeout, TimeUnit unit) throws IOException
      Specified by:
      exportStoredBatch in interface io.opentelemetry.contrib.disk.buffering.internal.exporter.FromDiskExporter
      Throws:
      IOException
    • shutdown

      public void shutdown() throws IOException
      Specified by:
      shutdown in interface io.opentelemetry.contrib.disk.buffering.internal.exporter.FromDiskExporter
      Throws:
      IOException