Package io.adtrace.sdk.scheduler
Class SingleThreadFutureScheduler
java.lang.Object
io.adtrace.sdk.scheduler.SingleThreadFutureScheduler
- All Implemented Interfaces:
FutureScheduler
AdTrace android SDK (https://adtrace.io)
Created by Nasser Amini (github.com/namini40) on April 2022.
Notice: See LICENSE.txt for modification and distribution information
Copyright © 2022.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionscheduleFuture(Runnable command, long millisecondDelay) scheduleFutureWithFixedDelay(Runnable command, long initialMillisecondDelay, long millisecondDelay) <V> ScheduledFuture<V>scheduleFutureWithReturn(Callable<V> callable, long millisecondDelay) voidteardown()
-
Constructor Details
-
SingleThreadFutureScheduler
-
-
Method Details
-
scheduleFuture
- Specified by:
scheduleFuturein interfaceFutureScheduler
-
scheduleFutureWithReturn
- Specified by:
scheduleFutureWithReturnin interfaceFutureScheduler
-
scheduleFutureWithFixedDelay
public ScheduledFuture<?> scheduleFutureWithFixedDelay(Runnable command, long initialMillisecondDelay, long millisecondDelay) - Specified by:
scheduleFutureWithFixedDelayin interfaceFutureScheduler
-
teardown
public void teardown()- Specified by:
teardownin interfaceFutureScheduler
-