Klasse AuxipMonitor

Alle implementierten Schnittstellen:
Runnable

@Component @Scope("singleton") public class AuxipMonitor extends BaseMonitor
Monitor for Auxiliary Data Interface Points (AUXIP) For specification details see "Auxiliary Data Interface Delivery Point Specification" (ESA-EOPG-EOPGC-IF-10, issue 1.3)
Autor:
Dr. Thomas Bassler
  • Felddetails

  • Konstruktordetails

    • AuxipMonitor

      public AuxipMonitor()
  • Methodendetails

    • getLastCopyPerformance

      public Double getLastCopyPerformance()
      Gets the last copy performance for monitoring purposes
      Gibt zurück:
      the last copy performance in MiB/s
    • setLastCopyPerformance

      void setLastCopyPerformance(Double copyPerformance)
      Records the last copy performance for monitoring purposes
      Parameter:
      copyPerformance - the copy performance in MiB/s
    • checkAvailableDownloads

      protected BaseMonitor.TransferControl checkAvailableDownloads(Instant referenceTimeStamp)
      Check the configured AUXIP for new files of the configured product types, whose publication date is after the reference time stamp:
      1. If token-based authentication is required, login to AUXIP and request token
      2. For all configured product types:
        1. Retrieve all products of the given type with publication time after reference time stamp (authenticating with either Basic Auth or Bearer Token)
        2. Convert JSON product entries into transfer objects
      3. Return the combined list of transfer objects
      Angegeben von:
      checkAvailableDownloads in Klasse BaseMonitor
      Parameter:
      referenceTimeStamp - the reference timestamp to apply for pickup point lookups
      Gibt zurück:
      a list of available transfer objects
    • transferToTargetDir

      protected boolean transferToTargetDir(TransferObject object)
      Transfer the products found to disk for later ingestion
      Angegeben von:
      transferToTargetDir in Klasse BaseMonitor
    • triggerFollowOnAction

      protected boolean triggerFollowOnAction(TransferObject transferObject)
      Angegeben von:
      triggerFollowOnAction in Klasse BaseMonitor