final class com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable extends java.lang.Object implements java.util.concurrent.Callable
{
private final java.lang.Runnable wrappedRunnable;
private final java.util.concurrent.ScheduledExecutorService executor;
private final com.google.common.util.concurrent.AbstractService service;
private final java.util.concurrent.locks.ReentrantLock lock;
private com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$SupplantableFuture cancellationDelegate;
final com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler this$0;
void <init>(com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler, com.google.common.util.concurrent.AbstractService, java.util.concurrent.ScheduledExecutorService, java.lang.Runnable)
{
com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler v;
java.util.concurrent.locks.ReentrantLock v;
com.google.common.util.concurrent.AbstractService v;
java.util.concurrent.ScheduledExecutorService v;
com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable v;
java.lang.Runnable v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable;
v := @parameter: com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler;
v := @parameter: com.google.common.util.concurrent.AbstractService;
v := @parameter: java.util.concurrent.ScheduledExecutorService;
v := @parameter: java.lang.Runnable;
v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler this$0> = v;
specialinvoke v.<java.lang.Object: void <init>()>();
v = new java.util.concurrent.locks.ReentrantLock;
specialinvoke v.<java.util.concurrent.locks.ReentrantLock: void <init>()>();
v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: java.util.concurrent.locks.ReentrantLock lock> = v;
v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: java.lang.Runnable wrappedRunnable> = v;
v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: java.util.concurrent.ScheduledExecutorService executor> = v;
v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: com.google.common.util.concurrent.AbstractService service> = v;
return;
}
public java.lang.Void call() throws java.lang.Exception
{
com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable v;
java.lang.Runnable v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable;
v = v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: java.lang.Runnable wrappedRunnable>;
interfaceinvoke v.<java.lang.Runnable: void run()>();
virtualinvoke v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: com.google.common.util.concurrent.AbstractScheduledService$Cancellable reschedule()>();
return null;
}
public com.google.common.util.concurrent.AbstractScheduledService$Cancellable reschedule()
{
java.lang.Throwable v, v, v, v;
com.google.common.util.concurrent.ListenableFuture v, v;
com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$Schedule v;
com.google.common.util.concurrent.AbstractScheduledService$Cancellable v;
com.google.common.util.concurrent.AbstractService v, v;
com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler v;
java.util.concurrent.locks.ReentrantLock v, v, v, v;
com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable v;
com.google.common.util.concurrent.AbstractScheduledService$FutureAsCancellable v, v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable;
label:
v = v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler this$0>;
v = virtualinvoke v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler: com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$Schedule getNextSchedule()>();
label:
goto label;
label:
v := @caughtexception;
v = v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: com.google.common.util.concurrent.AbstractService service>;
virtualinvoke v.<com.google.common.util.concurrent.AbstractService: void notifyFailed(java.lang.Throwable)>(v);
v = new com.google.common.util.concurrent.AbstractScheduledService$FutureAsCancellable;
v = staticinvoke <com.google.common.util.concurrent.Futures: com.google.common.util.concurrent.ListenableFuture immediateCancelledFuture()>();
specialinvoke v.<com.google.common.util.concurrent.AbstractScheduledService$FutureAsCancellable: void <init>(java.util.concurrent.Future)>(v);
return v;
label:
v = null;
v = v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: java.util.concurrent.locks.ReentrantLock lock>;
virtualinvoke v.<java.util.concurrent.locks.ReentrantLock: void lock()>();
label:
v = specialinvoke v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: com.google.common.util.concurrent.AbstractScheduledService$Cancellable initializeOrUpdateCancellationDelegate(com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$Schedule)>(v);
label:
v = v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: java.util.concurrent.locks.ReentrantLock lock>;
virtualinvoke v.<java.util.concurrent.locks.ReentrantLock: void unlock()>();
goto label;
label:
v := @caughtexception;
v = v;
v = new com.google.common.util.concurrent.AbstractScheduledService$FutureAsCancellable;
v = staticinvoke <com.google.common.util.concurrent.Futures: com.google.common.util.concurrent.ListenableFuture immediateCancelledFuture()>();
specialinvoke v.<com.google.common.util.concurrent.AbstractScheduledService$FutureAsCancellable: void <init>(java.util.concurrent.Future)>(v);
v = v;
label:
v = v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: java.util.concurrent.locks.ReentrantLock lock>;
virtualinvoke v.<java.util.concurrent.locks.ReentrantLock: void unlock()>();
goto label;
label:
v := @caughtexception;
v = v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: java.util.concurrent.locks.ReentrantLock lock>;
virtualinvoke v.<java.util.concurrent.locks.ReentrantLock: void unlock()>();
throw v;
label:
if v == null goto label;
v = v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: com.google.common.util.concurrent.AbstractService service>;
virtualinvoke v.<com.google.common.util.concurrent.AbstractService: void notifyFailed(java.lang.Throwable)>(v);
label:
return v;
catch java.lang.Throwable from label to label with label;
catch java.lang.Throwable from label to label with label;
catch java.lang.Throwable from label to label with label;
}
private com.google.common.util.concurrent.AbstractScheduledService$Cancellable initializeOrUpdateCancellationDelegate(com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$Schedule)
{
java.util.concurrent.ScheduledFuture v, v;
java.util.concurrent.locks.ReentrantLock v;
com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$Schedule v;
com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable v;
java.util.concurrent.Future v;
com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$SupplantableFuture v, v, v, v, v;
boolean v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable;
v := @parameter: com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$Schedule;
v = v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$SupplantableFuture cancellationDelegate>;
if v != null goto label;
v = new com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$SupplantableFuture;
v = v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: java.util.concurrent.locks.ReentrantLock lock>;
v = specialinvoke v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: java.util.concurrent.ScheduledFuture submitToExecutor(com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$Schedule)>(v);
specialinvoke v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$SupplantableFuture: void <init>(java.util.concurrent.locks.ReentrantLock,java.util.concurrent.Future)>(v, v);
v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$SupplantableFuture cancellationDelegate> = v;
return v;
label:
v = v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$SupplantableFuture cancellationDelegate>;
v = v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$SupplantableFuture: java.util.concurrent.Future currentFuture>;
v = interfaceinvoke v.<java.util.concurrent.Future: boolean isCancelled()>();
if v != 0 goto label;
v = v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$SupplantableFuture cancellationDelegate>;
v = specialinvoke v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: java.util.concurrent.ScheduledFuture submitToExecutor(com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$Schedule)>(v);
v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$SupplantableFuture: java.util.concurrent.Future currentFuture> = v;
label:
v = v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$SupplantableFuture cancellationDelegate>;
return v;
}
private java.util.concurrent.ScheduledFuture submitToExecutor(com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$Schedule)
{
java.util.concurrent.TimeUnit v;
java.util.concurrent.ScheduledFuture v;
com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$Schedule v;
java.util.concurrent.ScheduledExecutorService v;
long v;
com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable;
v := @parameter: com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$Schedule;
v = v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$ReschedulableCallable: java.util.concurrent.ScheduledExecutorService executor>;
v = v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$Schedule: long delay>;
v = v.<com.google.common.util.concurrent.AbstractScheduledService$CustomScheduler$Schedule: java.util.concurrent.TimeUnit unit>;
v = interfaceinvoke v.<java.util.concurrent.ScheduledExecutorService: java.util.concurrent.ScheduledFuture schedule(java.util.concurrent.Callable,long,java.util.concurrent.TimeUnit)>(v, v, v);
return v;
}
}