Generated by
JDiff

Interface com.google.common.util.concurrent.Service

Changed Methods
void addListener(Listener, Executor) Changed from non-abstract to abstract. Registers a Listener to be Executor#execute executed on the given executor.
Throwable failureCause() Changed from non-abstract to abstract. Returns the Throwable that caused this service to fail.
boolean isRunning() Changed from non-abstract to abstract. Returns {@code true} if this service is State#RUNNING running.
Service startAsync() Changed from non-abstract to abstract. If the service state is State.NEW, this initiates service startup and returns immediately.
State state() Changed from non-abstract to abstract. Returns the lifecycle state of the service.
Service stopAsync() Changed from non-abstract to abstract. If the service is State#STARTING starting or State#RUNNING running, this initiates service shutdown and returns immediately.
void awaitRunning(long, TimeUnit) Changed from non-abstract to abstract. Waits for the Service to reach the State#RUNNING running state for no more than the given time.
void awaitRunning() Changed from non-abstract to abstract. Waits for the Service to reach the State#RUNNING running state.
void awaitTerminated(long, TimeUnit) Changed from non-abstract to abstract. Waits for the Service to reach a terminal state (either terminated or failed) for no more than the given time.
void awaitTerminated() Changed from non-abstract to abstract. Waits for the Service to reach the State#TERMINATED terminated state.