@Singleton
public final class Context
extends java.lang.Object
implements java.lang.AutoCloseable
| Constructor and Description |
|---|
Context(com.netflix.spectator.api.Registry registry,
com.typesafe.config.Config config,
com.netflix.spectator.ipc.http.HttpClient client,
javax.net.ssl.SSLSocketFactory sslFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
stop()
Deprecated.
Use
close() instead. |
@Inject
public Context(com.netflix.spectator.api.Registry registry,
com.typesafe.config.Config config,
com.netflix.spectator.ipc.http.HttpClient client,
javax.net.ssl.SSLSocketFactory sslFactory)
@Deprecated public void stop()
close() instead.public void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exception