-
public interface ExportSchedulerTakes care of setting up the process to read and export previously stored signals.
-
-
Method Summary
Modifier and Type Method Description static ExportSchedulergetDefault(long minDelayBetweenExportsInMillis)Provides an export scheduler that executes periodically while the app is running. abstract voidonPersistenceEnabled()This is called during the agent initialization when the persistence feature is enabled. abstract voidonPersistenceDisabled()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. -
-
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.
-
-
-
-