Class RecoveryLayout

java.lang.Object
tech.skworks.tachyon.plugin.common.util.RecoveryLayout

public final class RecoveryLayout extends Object
Project Tachyon Class RecoveryLayout

Single source of truth for the on-disk dead-letter / recovery layout, shared by the writer (GrpcPlayerDataService) and the metrics scraper (TachyonMetrics) so the paths can never silently drift apart again.

dataFolder/recovery/
  ├── data/         *.bin payloads waiting to be replayed (corrupt ones are renamed *.bin.corrupt)
  └── recovery.log  human-readable audit trail
Since:
1.0.0-SNAPSHOT
Version:
1.0
Author:
Jimmy (vSKAH)
  • Field Details

  • Method Details

    • root

      @NotNull public static @NotNull Path root(@NotNull @NotNull Path dataFolder)
    • dataDir

      @NotNull public static @NotNull Path dataDir(@NotNull @NotNull Path dataFolder)
    • logFile

      @NotNull public static @NotNull Path logFile(@NotNull @NotNull Path dataFolder)