public abstract class ServiceListenerAdapter extends Object
Service.Listener
with all method default to no-op.Constructor and Description |
---|
ServiceListenerAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
failed(com.google.common.util.concurrent.Service.State from,
Throwable failure) |
void |
running() |
void |
starting() |
void |
stopping(com.google.common.util.concurrent.Service.State from) |
void |
terminated(com.google.common.util.concurrent.Service.State from) |
public void starting()
public void running()
public void stopping(com.google.common.util.concurrent.Service.State from)
public void terminated(com.google.common.util.concurrent.Service.State from)
public void failed(com.google.common.util.concurrent.Service.State from, Throwable failure)
Copyright © 2013-2020 The Apache Software Foundation. All rights reserved.