Class FallbackMonitor

java.lang.Object
org.gcube.documentstore.persistence.FallbackMonitor
All Implemented Interfaces:
Runnable

public class FallbackMonitor extends Object implements Runnable
This class is used as scheduled thread to check if some records where persisted in fallback file to retry to persist them with the discovered PersistenceBackend
Author:
Luca Frosini (ISTI - CNR)
  • Field Details

  • Constructor Details

    • FallbackMonitor

      public FallbackMonitor(PersistenceBackend persistenceBackend)
    • FallbackMonitor

      public FallbackMonitor(PersistenceBackend persistenceBackend, boolean schedule)
  • Method Details

    • elaborateFile

      protected void elaborateFile(File elaborationFile)
    • manageOldAccountingFile

      @Deprecated protected void manageOldAccountingFile()
      Deprecated.
    • elaborateFallbackFile

      protected void elaborateFallbackFile(File elaborationFile)
    • elaborateFallbackFile

      protected void elaborateFallbackFile()
    • run

      public void run()
      Specified by:
      run in interface Runnable