@InterfaceAudience.Public @InterfaceStability.Evolving public final class ServiceOperations extends Object
Modifier and Type | Method and Description |
---|---|
static void |
stop(Service service)
Stop a service.
|
static Exception |
stopQuietly(org.apache.commons.logging.Log log,
Service service)
Stop a service; if it is null do nothing.
|
static Exception |
stopQuietly(Service service)
Stop a service; if it is null do nothing.
|
public static void stop(Service service)
service
- a service or nullpublic static Exception stopQuietly(Service service)
service
- a service; may be nullpublic static Exception stopQuietly(org.apache.commons.logging.Log log, Service service)
log
- the log to warn atservice
- a service; may be nullstopQuietly(Service)
Copyright © 2015 Apache Software Foundation. All rights reserved.