final class com.google.common.util.concurrent.TimeoutFuture extends com.google.common.util.concurrent.FluentFuture$TrustedFuture
{
private com.google.common.util.concurrent.ListenableFuture delegateRef;
private java.util.concurrent.ScheduledFuture timer;
static com.google.common.util.concurrent.ListenableFuture create(com.google.common.util.concurrent.ListenableFuture, long, java.util.concurrent.TimeUnit, java.util.concurrent.ScheduledExecutorService)
{
java.util.concurrent.ScheduledFuture v;
com.google.common.util.concurrent.ListenableFuture v;
java.util.concurrent.Executor v;
long v;
com.google.common.util.concurrent.TimeoutFuture v;
java.util.concurrent.TimeUnit v;
com.google.common.util.concurrent.TimeoutFuture$Fire v;
java.util.concurrent.ScheduledExecutorService v;
v := @parameter: com.google.common.util.concurrent.ListenableFuture;
v := @parameter: long;
v := @parameter: java.util.concurrent.TimeUnit;
v := @parameter: java.util.concurrent.ScheduledExecutorService;
v = new com.google.common.util.concurrent.TimeoutFuture;
specialinvoke v.<com.google.common.util.concurrent.TimeoutFuture: void <init>(com.google.common.util.concurrent.ListenableFuture)>(v);
v = new com.google.common.util.concurrent.TimeoutFuture$Fire;
specialinvoke v.<com.google.common.util.concurrent.TimeoutFuture$Fire: void <init>(com.google.common.util.concurrent.TimeoutFuture)>(v);
v = interfaceinvoke v.<java.util.concurrent.ScheduledExecutorService: java.util.concurrent.ScheduledFuture schedule(java.lang.Runnable,long,java.util.concurrent.TimeUnit)>(v, v, v);
v.<com.google.common.util.concurrent.TimeoutFuture: java.util.concurrent.ScheduledFuture timer> = v;
v = staticinvoke <com.google.common.util.concurrent.MoreExecutors: java.util.concurrent.Executor directExecutor()>();
interfaceinvoke v.<com.google.common.util.concurrent.ListenableFuture: void addListener(java.lang.Runnable,java.util.concurrent.Executor)>(v, v);
return v;
}
private void <init>(com.google.common.util.concurrent.ListenableFuture)
{
java.lang.Object v;
com.google.common.util.concurrent.ListenableFuture v;
com.google.common.util.concurrent.TimeoutFuture v;
v := @this: com.google.common.util.concurrent.TimeoutFuture;
v := @parameter: com.google.common.util.concurrent.ListenableFuture;
specialinvoke v.<com.google.common.util.concurrent.FluentFuture$TrustedFuture: void <init>()>();
v = staticinvoke <com.google.common.base.Preconditions: java.lang.Object checkNotNull(java.lang.Object)>(v);
v.<com.google.common.util.concurrent.TimeoutFuture: com.google.common.util.concurrent.ListenableFuture delegateRef> = v;
return;
}
protected java.lang.String pendingToString()
{
java.util.concurrent.ScheduledFuture v;
com.google.common.util.concurrent.ListenableFuture v;
long v;
com.google.common.util.concurrent.TimeoutFuture v;
byte v;
int v, v, v, v;
java.lang.String v, v, v, v, v;
java.util.concurrent.TimeUnit v;
java.lang.StringBuilder v, v;
v := @this: com.google.common.util.concurrent.TimeoutFuture;
v = v.<com.google.common.util.concurrent.TimeoutFuture: com.google.common.util.concurrent.ListenableFuture delegateRef>;
v = v.<com.google.common.util.concurrent.TimeoutFuture: java.util.concurrent.ScheduledFuture timer>;
if v == null goto label;
v = staticinvoke <java.lang.String: java.lang.String valueOf(java.lang.Object)>(v);
v = staticinvoke <java.lang.String: java.lang.String valueOf(java.lang.Object)>(v);
v = virtualinvoke v.<java.lang.String: int length()>();
v = 14 + v;
specialinvoke v.<java.lang.StringBuilder: void <init>(int)>(v);
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("inputFuture=[\u]");
if v == null goto label;
v = <java.util.concurrent.TimeUnit: java.util.concurrent.TimeUnit MILLISECONDS>;
v = interfaceinvoke v.<java.util.concurrent.ScheduledFuture: long getDelay(java.util.concurrent.TimeUnit)>(v);
v = v cmp 0L;
if v <= 0 goto label;
v = staticinvoke <java.lang.String: java.lang.String valueOf(java.lang.Object)>(v);
v = staticinvoke <java.lang.String: java.lang.String valueOf(java.lang.Object)>(v);
v = virtualinvoke v.<java.lang.String: int length()>();
v = 43 + v;
specialinvoke v.<java.lang.StringBuilder: void <init>(int)>(v);
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,long)>(v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u, remaining delay=[\u ms]");
label:
return v;
label:
return null;
}
protected void afterDone()
{
java.util.concurrent.ScheduledFuture v;
com.google.common.util.concurrent.ListenableFuture v;
com.google.common.util.concurrent.TimeoutFuture v;
v := @this: com.google.common.util.concurrent.TimeoutFuture;
v = v.<com.google.common.util.concurrent.TimeoutFuture: com.google.common.util.concurrent.ListenableFuture delegateRef>;
virtualinvoke v.<com.google.common.util.concurrent.TimeoutFuture: void maybePropagateCancellationTo(java.util.concurrent.Future)>(v);
v = v.<com.google.common.util.concurrent.TimeoutFuture: java.util.concurrent.ScheduledFuture timer>;
if v == null goto label;
interfaceinvoke v.<java.util.concurrent.Future: boolean cancel(boolean)>(0);
label:
v.<com.google.common.util.concurrent.TimeoutFuture: com.google.common.util.concurrent.ListenableFuture delegateRef> = null;
v.<com.google.common.util.concurrent.TimeoutFuture: java.util.concurrent.ScheduledFuture timer> = null;
return;
}
}