Class SignalFromDiskExporter
-
- All Implemented Interfaces:
public final class SignalFromDiskExporterEntrypoint to read and export previously cached signals.
-
-
Method Summary
Modifier and Type Method Description final BooleanexportSpansFromDisk()Exports all persisted spans from the disk and deletes the successfully consumed batches from the disk. final BooleanexportMetricsFromDisk()Exports all persisted metrics from the disk and deletes the successfully consumed batches from the disk. final BooleanexportLogsFromDisk()Exports all persisted logs from the disk and deletes the successfully consumed batches from the disk. final BooleanexportAllSignalsFromDisk()Convenience method that attempts to export all kinds of signals from disk. final static SignalFromDiskExporterget()final static Unitset(SignalFromDiskExporter signalFromDiskExporter)final static UnitresetForTesting()-
-
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,falseotherwise.
-
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,falseotherwise.
-
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,falseotherwise.
-
exportAllSignalsFromDisk
@WorkerThread() final Boolean exportAllSignalsFromDisk()
Convenience method that attempts to export all kinds of signals from disk.
- Returns:
true, if all exporting completed successfully,falseotherwise.`
-
get
final static SignalFromDiskExporter get()
-
set
final static Unit set(SignalFromDiskExporter signalFromDiskExporter)
-
resetForTesting
final static Unit resetForTesting()
-
-
-
-