-
- All Implemented Interfaces:
-
co.elastic.apm.android.sdk.internal.services.periodicwork.PeriodicTask
public abstract class ManagedPeriodicTask implements PeriodicTask
-
-
Constructor Summary
Constructors Constructor Description ManagedPeriodicTask()
-
Method Summary
Modifier and Type Method Description final voidrunTask()Runs only if shouldRunTask returs true. final booleanshouldRunTask()Indicates whether this task should run as part of the ongoing PeriodicWorkService iterationor not. -
-
Method Detail
-
runTask
final void runTask()
Runs only if shouldRunTask returs true.
-
shouldRunTask
final boolean shouldRunTask()
Indicates whether this task should run as part of the ongoing PeriodicWorkService iterationor not.
-
-
-
-