Class GrpcAuditService

java.lang.Object
tech.skworks.tachyon.plugin.internal.audit.GrpcAuditService
All Implemented Interfaces:
AuditService

public class GrpcAuditService extends Object implements AuditService
Project Tachyon Class AuditManager
Since:
1.0.0-SNAPSHOT
Version:
1.0
Author:
Jimmy (vSKAH) - 06/04/2026
  • Constructor Details

  • Method Details

    • log

      public void log(@NotNull @NotNull String uuid, @NotNull @NotNull String action, @NotNull @NotNull String details)
      Enqueues an audit log entry. Thread-safe. If the buffer is full, an async emergency flush is triggered and the entry is dropped (logged as SEVERE).
      Specified by:
      log in interface AuditService
      Parameters:
      uuid - The unique identifier (UUID) of the player associated with this event.
      action - A clear, categorizable identifier for the event (e.g., "TRADE_ACCEPT", "ITEM_DROP", "FLAG_TRIGGERED").
      details - Additional contextual information about the event.
    • shutdown

      public void shutdown()