39 lines
1.2 KiB
Java
39 lines
1.2 KiB
Java
|
package o;
|
||
|
|
||
|
import java.util.concurrent.Future;
|
||
|
import java.util.concurrent.TimeUnit;
|
||
|
|
||
|
/* renamed from: o.fWd, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes6.dex */
|
||
|
public final class C13295fWd<T> extends AbstractC13163fSk<T> {
|
||
|
private Future<? extends T> b;
|
||
|
private long d;
|
||
|
private TimeUnit e;
|
||
|
|
||
|
public C13295fWd(Future<? extends T> future, long j, TimeUnit timeUnit) {
|
||
|
this.b = future;
|
||
|
this.d = j;
|
||
|
this.e = timeUnit;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
@Override // o.AbstractC13163fSk
|
||
|
public final void subscribeActual(InterfaceC13174fSv<? super T> interfaceC13174fSv) {
|
||
|
fTO fto = new fTO(interfaceC13174fSv);
|
||
|
interfaceC13174fSv.onSubscribe(fto);
|
||
|
if (fto.isDisposed()) {
|
||
|
return;
|
||
|
}
|
||
|
try {
|
||
|
TimeUnit timeUnit = this.e;
|
||
|
fto.d(fYR.d(timeUnit != null ? this.b.get(this.d, timeUnit) : this.b.get(), "Future returned a null value."));
|
||
|
} catch (Throwable th) {
|
||
|
C13147fSI.c(th);
|
||
|
if (fto.isDisposed()) {
|
||
|
return;
|
||
|
}
|
||
|
interfaceC13174fSv.onError(th);
|
||
|
}
|
||
|
}
|
||
|
}
|