public abstract class com.google.common.util.concurrent.AbstractIdleService extends java.lang.Object implements com.google.common.util.concurrent.Service
{
private final com.google.common.base.Supplier threadNameSupplier;
private final com.google.common.util.concurrent.Service delegate;
protected void <init>()
{
com.google.common.util.concurrent.AbstractIdleService$DelegateService v;
com.google.common.util.concurrent.AbstractIdleService$ThreadNameSupplier v;
com.google.common.util.concurrent.AbstractIdleService v;
v := @this: com.google.common.util.concurrent.AbstractIdleService;
specialinvoke v.<java.lang.Object: void <init>()>();
v = new com.google.common.util.concurrent.AbstractIdleService$ThreadNameSupplier;
specialinvoke v.<com.google.common.util.concurrent.AbstractIdleService$ThreadNameSupplier: void <init>(com.google.common.util.concurrent.AbstractIdleService)>(v);
v.<com.google.common.util.concurrent.AbstractIdleService: com.google.common.base.Supplier threadNameSupplier> = v;
v = new com.google.common.util.concurrent.AbstractIdleService$DelegateService;
specialinvoke v.<com.google.common.util.concurrent.AbstractIdleService$DelegateService: void <init>(com.google.common.util.concurrent.AbstractIdleService)>(v);
v.<com.google.common.util.concurrent.AbstractIdleService: com.google.common.util.concurrent.Service delegate> = v;
return;
}
protected abstract void startUp() throws java.lang.Exception;
protected abstract void shutDown() throws java.lang.Exception;
protected java.util.concurrent.Executor executor()
{
com.google.common.util.concurrent.AbstractIdleService$1 v;
com.google.common.util.concurrent.AbstractIdleService v;
v := @this: com.google.common.util.concurrent.AbstractIdleService;
v = new com.google.common.util.concurrent.AbstractIdleService$1;
specialinvoke v.<com.google.common.util.concurrent.AbstractIdleService$1: void <init>(com.google.common.util.concurrent.AbstractIdleService)>(v);
return v;
}
public java.lang.String toString()
{
com.google.common.util.concurrent.Service$State v;
com.google.common.util.concurrent.AbstractIdleService 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.AbstractIdleService;
v = virtualinvoke v.<com.google.common.util.concurrent.AbstractIdleService: java.lang.String serviceName()>();
v = virtualinvoke v.<com.google.common.util.concurrent.AbstractIdleService: 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()
{
boolean v;
com.google.common.util.concurrent.AbstractIdleService v;
com.google.common.util.concurrent.Service v;
v := @this: com.google.common.util.concurrent.AbstractIdleService;
v = v.<com.google.common.util.concurrent.AbstractIdleService: com.google.common.util.concurrent.Service delegate>;
v = interfaceinvoke v.<com.google.common.util.concurrent.Service: boolean isRunning()>();
return v;
}
public final com.google.common.util.concurrent.Service$State state()
{
com.google.common.util.concurrent.Service$State v;
com.google.common.util.concurrent.AbstractIdleService v;
com.google.common.util.concurrent.Service v;
v := @this: com.google.common.util.concurrent.AbstractIdleService;
v = v.<com.google.common.util.concurrent.AbstractIdleService: com.google.common.util.concurrent.Service delegate>;
v = interfaceinvoke v.<com.google.common.util.concurrent.Service: 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)
{
java.util.concurrent.Executor v;
com.google.common.util.concurrent.AbstractIdleService v;
com.google.common.util.concurrent.Service$Listener v;
com.google.common.util.concurrent.Service v;
v := @this: com.google.common.util.concurrent.AbstractIdleService;
v := @parameter: com.google.common.util.concurrent.Service$Listener;
v := @parameter: java.util.concurrent.Executor;
v = v.<com.google.common.util.concurrent.AbstractIdleService: com.google.common.util.concurrent.Service delegate>;
interfaceinvoke v.<com.google.common.util.concurrent.Service: void addListener(com.google.common.util.concurrent.Service$Listener,java.util.concurrent.Executor)>(v, v);
return;
}
public final java.lang.Throwable failureCause()
{
java.lang.Throwable v;
com.google.common.util.concurrent.AbstractIdleService v;
com.google.common.util.concurrent.Service v;
v := @this: com.google.common.util.concurrent.AbstractIdleService;
v = v.<com.google.common.util.concurrent.AbstractIdleService: com.google.common.util.concurrent.Service delegate>;
v = interfaceinvoke v.<com.google.common.util.concurrent.Service: java.lang.Throwable failureCause()>();
return v;
}
public final com.google.common.util.concurrent.Service startAsync()
{
com.google.common.util.concurrent.AbstractIdleService v;
com.google.common.util.concurrent.Service v;
v := @this: com.google.common.util.concurrent.AbstractIdleService;
v = v.<com.google.common.util.concurrent.AbstractIdleService: com.google.common.util.concurrent.Service delegate>;
interfaceinvoke v.<com.google.common.util.concurrent.Service: com.google.common.util.concurrent.Service startAsync()>();
return v;
}
public final com.google.common.util.concurrent.Service stopAsync()
{
com.google.common.util.concurrent.AbstractIdleService v;
com.google.common.util.concurrent.Service v;
v := @this: com.google.common.util.concurrent.AbstractIdleService;
v = v.<com.google.common.util.concurrent.AbstractIdleService: com.google.common.util.concurrent.Service delegate>;
interfaceinvoke v.<com.google.common.util.concurrent.Service: com.google.common.util.concurrent.Service stopAsync()>();
return v;
}
public final void awaitRunning()
{
com.google.common.util.concurrent.AbstractIdleService v;
com.google.common.util.concurrent.Service v;
v := @this: com.google.common.util.concurrent.AbstractIdleService;
v = v.<com.google.common.util.concurrent.AbstractIdleService: com.google.common.util.concurrent.Service delegate>;
interfaceinvoke v.<com.google.common.util.concurrent.Service: void awaitRunning()>();
return;
}
public final void awaitRunning(java.time.Duration) throws java.util.concurrent.TimeoutException
{
com.google.common.util.concurrent.AbstractIdleService v;
java.time.Duration v;
v := @this: com.google.common.util.concurrent.AbstractIdleService;
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.AbstractIdleService v;
long v;
com.google.common.util.concurrent.Service v;
v := @this: com.google.common.util.concurrent.AbstractIdleService;
v := @parameter: long;
v := @parameter: java.util.concurrent.TimeUnit;
v = v.<com.google.common.util.concurrent.AbstractIdleService: com.google.common.util.concurrent.Service delegate>;
interfaceinvoke v.<com.google.common.util.concurrent.Service: void awaitRunning(long,java.util.concurrent.TimeUnit)>(v, v);
return;
}
public final void awaitTerminated()
{
com.google.common.util.concurrent.AbstractIdleService v;
com.google.common.util.concurrent.Service v;
v := @this: com.google.common.util.concurrent.AbstractIdleService;
v = v.<com.google.common.util.concurrent.AbstractIdleService: com.google.common.util.concurrent.Service delegate>;
interfaceinvoke v.<com.google.common.util.concurrent.Service: void awaitTerminated()>();
return;
}
public final void awaitTerminated(java.time.Duration) throws java.util.concurrent.TimeoutException
{
com.google.common.util.concurrent.AbstractIdleService v;
java.time.Duration v;
v := @this: com.google.common.util.concurrent.AbstractIdleService;
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.AbstractIdleService v;
long v;
com.google.common.util.concurrent.Service v;
v := @this: com.google.common.util.concurrent.AbstractIdleService;
v := @parameter: long;
v := @parameter: java.util.concurrent.TimeUnit;
v = v.<com.google.common.util.concurrent.AbstractIdleService: com.google.common.util.concurrent.Service delegate>;
interfaceinvoke v.<com.google.common.util.concurrent.Service: void awaitTerminated(long,java.util.concurrent.TimeUnit)>(v, v);
return;
}
protected java.lang.String serviceName()
{
java.lang.Class v;
java.lang.String v;
com.google.common.util.concurrent.AbstractIdleService v;
v := @this: com.google.common.util.concurrent.AbstractIdleService;
v = virtualinvoke v.<java.lang.Object: java.lang.Class getClass()>();
v = virtualinvoke v.<java.lang.Class: java.lang.String getSimpleName()>();
return v;
}
}