public class ShutdownServiceImpl extends Object implements ShutdownService, AutoCloseable
| Constructor and Description |
|---|
ShutdownServiceImpl(String secret,
org.osgi.framework.Bundle systemBundle,
ShutdownRuntimeRegistrator rootRuntimeBeanRegistratorWrapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
shutdown(String inputSecret,
Long maxWaitTime,
com.google.common.base.Optional<String> reason)
Shut down the server.
|
public ShutdownServiceImpl(String secret, org.osgi.framework.Bundle systemBundle, ShutdownRuntimeRegistrator rootRuntimeBeanRegistratorWrapper)
public void shutdown(String inputSecret, Long maxWaitTime, com.google.common.base.Optional<String> reason)
ShutdownServiceshutdown in interface ShutdownServiceinputSecret - must match configured secret of the implementationreason - Optional string to be logged while shutting downpublic void close()
close in interface AutoCloseableCopyright © 2019 OpenDaylight. All rights reserved.