Package 

Interface ExportScheduler


  • 
    public interface ExportScheduler
    
                        

    Takes care of setting up the process to read and export previously stored signals.

    • Method Summary

      Modifier and Type Method Description
      static ExportScheduler getDefault(long minDelayBetweenExportsInMillis) Provides an export scheduler that executes periodically while the app is running.
      abstract void onPersistenceEnabled() This is called during the agent initialization when the persistence feature is enabled.
      abstract void onPersistenceDisabled() This is called during the agent initialization when the persistence feature is disabled.It might be used to cancel previously scheduled periodic work when the feature was enabled.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getDefault

         static ExportScheduler getDefault(long minDelayBetweenExportsInMillis)

        Provides an export scheduler that executes periodically while the app is running.

        Parameters:
        minDelayBetweenExportsInMillis - - The minimum amount of time in milliseconds to wait until the nextexporting iteration.
      • onPersistenceEnabled

         abstract void onPersistenceEnabled()

        This is called during the agent initialization when the persistence feature is enabled. Itshould be the place where any setup/initialization of the reading/exporting scheduling is done.

      • onPersistenceDisabled

         abstract void onPersistenceDisabled()

        This is called during the agent initialization when the persistence feature is disabled.It might be used to cancel previously scheduled periodic work when the feature was enabled.