2021-08-03 07:33:18 +00:00
|
|
|
package rx;
|
|
|
|
|
2021-11-02 06:38:17 +00:00
|
|
|
import j0.l.c.h;
|
|
|
|
import j0.l.c.i;
|
|
|
|
import j0.l.d.a;
|
2021-08-03 07:33:18 +00:00
|
|
|
import java.util.concurrent.TimeUnit;
|
|
|
|
import rx.functions.Action0;
|
2022-03-07 09:34:54 +00:00
|
|
|
/* loaded from: classes3.dex */
|
2021-08-03 07:33:18 +00:00
|
|
|
public abstract class Scheduler {
|
|
|
|
|
2022-03-07 09:34:54 +00:00
|
|
|
/* loaded from: classes3.dex */
|
2021-08-03 07:33:18 +00:00
|
|
|
public static abstract class Worker implements Subscription {
|
|
|
|
public abstract Subscription a(Action0 action0);
|
|
|
|
|
|
|
|
public abstract Subscription b(Action0 action0, long j, TimeUnit timeUnit);
|
|
|
|
|
|
|
|
public Subscription c(Action0 action0, long j, long j2, TimeUnit timeUnit) {
|
2022-03-28 08:10:50 +00:00
|
|
|
int i = i.f3784b;
|
2021-08-03 07:33:18 +00:00
|
|
|
long nanos = timeUnit.toNanos(j2);
|
|
|
|
long nanos2 = TimeUnit.MILLISECONDS.toNanos(System.currentTimeMillis());
|
|
|
|
long nanos3 = timeUnit.toNanos(j) + nanos2;
|
|
|
|
a aVar = new a();
|
|
|
|
a aVar2 = new a(aVar);
|
|
|
|
aVar.a(b(new h(nanos2, nanos3, action0, aVar2, null, this, nanos), j, timeUnit));
|
|
|
|
return aVar2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public abstract Worker a();
|
|
|
|
}
|