Class OfferDiagService

java.lang.Object
fr.gouv.vitam.storage.offers.core.diag.OfferDiagService

public class OfferDiagService extends Object
  • Constructor Details

  • Method Details

    • startOfferDiag

      public boolean startOfferDiag(String container)
      Start a diagnostic process for the given container and tenant.
      Parameters:
      container - the container name
      Returns:
      true if the process was started, false if another process is already running
    • isRunning

      public boolean isRunning()
      Check if a diagnostic process is currently running.
      Returns:
      true if a process is running, false otherwise
    • getLastOfferDiagStatus

      public OfferDiagStatus getLastOfferDiagStatus()
      Get the status of the last diagnostic process.
      Returns:
      the status, or null if no process has been run