public class HystrixConfigSseServlet extends HystrixSampleSseServlet<com.netflix.hystrix.config.HystrixConfiguration>
Install by:
1) Including hystrix-metrics-event-stream-*.jar in your classpath.
2) Adding the following to web.xml:
<servlet>
<description></description>
<display-name>HystrixConfigSseServlet</display-name>
<servlet-name>HystrixConfigSseServlet</servlet-name>
<servlet-class>com.netflix.hystrix.contrib.sample.stream.HystrixConfigSseServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HystrixConfigSseServlet</servlet-name>
<url-pattern>/hystrix/config.stream</url-pattern>
</servlet-mapping>
| Constructor and Description |
|---|
HystrixConfigSseServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
convertToString(com.netflix.hystrix.config.HystrixConfiguration config) |
protected void |
decrementCurrentConcurrentConnections() |
protected rx.Observable<com.netflix.hystrix.config.HystrixConfiguration> |
getStream(int delay) |
protected int |
incrementAndGetCurrentConcurrentConnections() |
destroy, doGet, init, shutdowndoDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceprotected int incrementAndGetCurrentConcurrentConnections()
incrementAndGetCurrentConcurrentConnections in class HystrixSampleSseServlet<com.netflix.hystrix.config.HystrixConfiguration>protected void decrementCurrentConcurrentConnections()
decrementCurrentConcurrentConnections in class HystrixSampleSseServlet<com.netflix.hystrix.config.HystrixConfiguration>protected rx.Observable<com.netflix.hystrix.config.HystrixConfiguration> getStream(int delay)
getStream in class HystrixSampleSseServlet<com.netflix.hystrix.config.HystrixConfiguration>protected java.lang.String convertToString(com.netflix.hystrix.config.HystrixConfiguration config)
throws java.io.IOException
convertToString in class HystrixSampleSseServlet<com.netflix.hystrix.config.HystrixConfiguration>java.io.IOException