public abstract class com.google.common.util.concurrent.AbstractScheduledService extends java.lang.Object implements com.google.common.util.concurrent.Service
{
private static final java.util.logging.Logger logger;
private final com.google.common.util.concurrent.AbstractService delegate;
protected void <init>()
{
com.google.common.util.concurrent.AbstractScheduledService v;
com.google.common.util.concurrent.AbstractScheduledService$ServiceDelegate v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService;
specialinvoke v.<java.lang.Object: void <init>()>();
v = new com.google.common.util.concurrent.AbstractScheduledService$ServiceDelegate;
specialinvoke v.<com.google.common.util.concurrent.AbstractScheduledService$ServiceDelegate: void <init>(com.google.common.util.concurrent.AbstractScheduledService)>(v);
v.<com.google.common.util.concurrent.AbstractScheduledService: com.google.common.util.concurrent.AbstractService delegate> = v;
return;
}
protected abstract void runOneIteration() throws java.lang.Exception;
protected void startUp() throws java.lang.Exception
{
com.google.common.util.concurrent.AbstractScheduledService v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService;
return;
}
protected void shutDown() throws java.lang.Exception
{
com.google.common.util.concurrent.AbstractScheduledService v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService;
return;
}
protected abstract com.google.common.util.concurrent.AbstractScheduledService$Scheduler scheduler();
protected java.util.concurrent.ScheduledExecutorService executor()
{
com.google.common.util.concurrent.AbstractScheduledService$1 v;
com.google.common.util.concurrent.AbstractScheduledService v;
java.util.concurrent.Executor v;
java.util.concurrent.ScheduledExecutorService v;
com.google.common.util.concurrent.AbstractScheduledService$1ThreadFactoryImpl v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService;
v = new com.google.common.util.concurrent.AbstractScheduledService$1ThreadFactoryImpl;
specialinvoke v.<com.google.common.util.concurrent.AbstractScheduledService$1ThreadFactoryImpl: void <init>(com.google.common.util.concurrent.AbstractScheduledService)>(v);
v = staticinvoke <java.util.concurrent.Executors: java.util.concurrent.ScheduledExecutorService newSingleThreadScheduledExecutor(java.util.concurrent.ThreadFactory)>(v);
v = new com.google.common.util.concurrent.AbstractScheduledService$1;
specialinvoke v.<com.google.common.util.concurrent.AbstractScheduledService$1: void <init>(com.google.common.util.concurrent.AbstractScheduledService,java.util.concurrent.ScheduledExecutorService)>(v, v);
v = staticinvoke <com.google.common.util.concurrent.MoreExecutors: java.util.concurrent.Executor directExecutor()>();
virtualinvoke v.<com.google.common.util.concurrent.AbstractScheduledService: void addListener(com.google.common.util.concurrent.Service$Listener,java.util.concurrent.Executor)>(v, v);
return v;
}
protected java.lang.String serviceName()
{
java.lang.Class v;
java.lang.String v;
com.google.common.util.concurrent.AbstractScheduledService v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService;
v = virtualinvoke v.<java.lang.Object: java.lang.Class getClass()>();
v = virtualinvoke v.<java.lang.Class: java.lang.String getSimpleName()>();
return v;
}
public java.lang.String toString()
{
com.google.common.util.concurrent.Service$State v;
com.google.common.util.concurrent.AbstractScheduledService v;
int v, v, v, v;
java.lang.StringBuilder v;
java.lang.String v, v, v, v, v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService;
v = virtualinvoke v.<com.google.common.util.concurrent.AbstractScheduledService: java.lang.String serviceName()>();
v = virtualinvoke v.<com.google.common.util.concurrent.AbstractScheduledService: com.google.common.util.concurrent.Service$State state()>();
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 = 3 + v;
v = staticinvoke <java.lang.String: java.lang.String valueOf(java.lang.Object)>(v);
v = virtualinvoke v.<java.lang.String: int length()>();
v = v + v;
specialinvoke v.<java.lang.StringBuilder: void <init>(int)>(v);
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,java.lang.String)>(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 [\u]");
return v;
}
public final boolean isRunning()
{
com.google.common.util.concurrent.AbstractService v;
com.google.common.util.concurrent.AbstractScheduledService v;
boolean v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService;
v = v.<com.google.common.util.concurrent.AbstractScheduledService: com.google.common.util.concurrent.AbstractService delegate>;
v = virtualinvoke v.<com.google.common.util.concurrent.AbstractService: boolean isRunning()>();
return v;
}
public final com.google.common.util.concurrent.Service$State state()
{
com.google.common.util.concurrent.AbstractService v;
com.google.common.util.concurrent.Service$State v;
com.google.common.util.concurrent.AbstractScheduledService v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService;
v = v.<com.google.common.util.concurrent.AbstractScheduledService: com.google.common.util.concurrent.AbstractService delegate>;
v = virtualinvoke v.<com.google.common.util.concurrent.AbstractService: com.google.common.util.concurrent.Service$State state()>();
return v;
}
public final void addListener(com.google.common.util.concurrent.Service$Listener, java.util.concurrent.Executor)
{
com.google.common.util.concurrent.AbstractScheduledService v;
java.util.concurrent.Executor v;
com.google.common.util.concurrent.AbstractService v;
com.google.common.util.concurrent.Service$Listener v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService;
v := @parameter: com.google.common.util.concurrent.Service$Listener;
v := @parameter: java.util.concurrent.Executor;
v = v.<com.google.common.util.concurrent.AbstractScheduledService: com.google.common.util.concurrent.AbstractService delegate>;
virtualinvoke v.<com.google.common.util.concurrent.AbstractService: void addListener(com.google.common.util.concurrent.Service$Listener,java.util.concurrent.Executor)>(v, v);
return;
}
public final java.lang.Throwable failureCause()
{
com.google.common.util.concurrent.AbstractService v;
java.lang.Throwable v;
com.google.common.util.concurrent.AbstractScheduledService v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService;
v = v.<com.google.common.util.concurrent.AbstractScheduledService: com.google.common.util.concurrent.AbstractService delegate>;
v = virtualinvoke v.<com.google.common.util.concurrent.AbstractService: java.lang.Throwable failureCause()>();
return v;
}
public final com.google.common.util.concurrent.Service startAsync()
{
com.google.common.util.concurrent.AbstractService v;
com.google.common.util.concurrent.AbstractScheduledService v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService;
v = v.<com.google.common.util.concurrent.AbstractScheduledService: com.google.common.util.concurrent.AbstractService delegate>;
virtualinvoke v.<com.google.common.util.concurrent.AbstractService: com.google.common.util.concurrent.Service startAsync()>();
return v;
}
public final com.google.common.util.concurrent.Service stopAsync()
{
com.google.common.util.concurrent.AbstractService v;
com.google.common.util.concurrent.AbstractScheduledService v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService;
v = v.<com.google.common.util.concurrent.AbstractScheduledService: com.google.common.util.concurrent.AbstractService delegate>;
virtualinvoke v.<com.google.common.util.concurrent.AbstractService: com.google.common.util.concurrent.Service stopAsync()>();
return v;
}
public final void awaitRunning()
{
com.google.common.util.concurrent.AbstractService v;
com.google.common.util.concurrent.AbstractScheduledService v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService;
v = v.<com.google.common.util.concurrent.AbstractScheduledService: com.google.common.util.concurrent.AbstractService delegate>;
virtualinvoke v.<com.google.common.util.concurrent.AbstractService: void awaitRunning()>();
return;
}
public final void awaitRunning(java.time.Duration) throws java.util.concurrent.TimeoutException
{
com.google.common.util.concurrent.AbstractScheduledService v;
java.time.Duration v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService;
v := @parameter: java.time.Duration;
specialinvoke v.<com.google.common.util.concurrent.Service: void awaitRunning(java.time.Duration)>(v);
return;
}
public final void awaitRunning(long, java.util.concurrent.TimeUnit) throws java.util.concurrent.TimeoutException
{
java.util.concurrent.TimeUnit v;
com.google.common.util.concurrent.AbstractScheduledService v;
com.google.common.util.concurrent.AbstractService v;
long v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService;
v := @parameter: long;
v := @parameter: java.util.concurrent.TimeUnit;
v = v.<com.google.common.util.concurrent.AbstractScheduledService: com.google.common.util.concurrent.AbstractService delegate>;
virtualinvoke v.<com.google.common.util.concurrent.AbstractService: void awaitRunning(long,java.util.concurrent.TimeUnit)>(v, v);
return;
}
public final void awaitTerminated()
{
com.google.common.util.concurrent.AbstractService v;
com.google.common.util.concurrent.AbstractScheduledService v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService;
v = v.<com.google.common.util.concurrent.AbstractScheduledService: com.google.common.util.concurrent.AbstractService delegate>;
virtualinvoke v.<com.google.common.util.concurrent.AbstractService: void awaitTerminated()>();
return;
}
public final void awaitTerminated(java.time.Duration) throws java.util.concurrent.TimeoutException
{
com.google.common.util.concurrent.AbstractScheduledService v;
java.time.Duration v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService;
v := @parameter: java.time.Duration;
specialinvoke v.<com.google.common.util.concurrent.Service: void awaitTerminated(java.time.Duration)>(v);
return;
}
public final void awaitTerminated(long, java.util.concurrent.TimeUnit) throws java.util.concurrent.TimeoutException
{
java.util.concurrent.TimeUnit v;
com.google.common.util.concurrent.AbstractScheduledService v;
com.google.common.util.concurrent.AbstractService v;
long v;
v := @this: com.google.common.util.concurrent.AbstractScheduledService;
v := @parameter: long;
v := @parameter: java.util.concurrent.TimeUnit;
v = v.<com.google.common.util.concurrent.AbstractScheduledService: com.google.common.util.concurrent.AbstractService delegate>;
virtualinvoke v.<com.google.common.util.concurrent.AbstractService: void awaitTerminated(long,java.util.concurrent.TimeUnit)>(v, v);
return;
}
static void <clinit>()
{
java.lang.Class v;
java.lang.String v;
java.util.logging.Logger v;
v = class "Lcom/google/common/util/concurrent/AbstractScheduledService;";
v = virtualinvoke v.<java.lang.Class: java.lang.String getName()>();
v = staticinvoke <java.util.logging.Logger: java.util.logging.Logger getLogger(java.lang.String)>(v);
<com.google.common.util.concurrent.AbstractScheduledService: java.util.logging.Logger logger> = v;
return;
}
}