Class 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)
    • Constructor Detail

      • FallbackMonitor

        public FallbackMonitor​(PersistenceBackend persistenceBackend,
                               boolean schedule)
    • Method Detail

      • 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