Class SignalFromDiskExporter

  • All Implemented Interfaces:

    
    public final class SignalFromDiskExporter
    
                        

    Entrypoint to read and export previously cached signals.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • exportSpansFromDisk

        @WorkerThread() final Boolean exportSpansFromDisk()

        Exports all persisted spans from the disk and deletes the successfully consumed batches from the disk. It aborts the exporting on the first failure.

        Returns:

        true, if the exporting completely succeeded, false otherwise.

      • exportMetricsFromDisk

        @WorkerThread() final Boolean exportMetricsFromDisk()

        Exports all persisted metrics from the disk and deletes the successfully consumed batches from the disk. It aborts the exporting on the first failure.

        Returns:

        true, if the exporting completely succeeded, false otherwise.

      • exportLogsFromDisk

        @WorkerThread() final Boolean exportLogsFromDisk()

        Exports all persisted logs from the disk and deletes the successfully consumed batches from the disk. It aborts the exporting on the first failure.

        Returns:

        true, if the exporting completely succeeded, false otherwise.

      • exportAllSignalsFromDisk

        @WorkerThread() final Boolean exportAllSignalsFromDisk()

        Convenience method that attempts to export all kinds of signals from disk.

        Returns:

        true, if all exporting completed successfully, false otherwise.`