public class HystrixConfigSseServlet extends HystrixSampleSseServlet
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>
DEFAULT_PAUSE_POLLER_THREAD_DELAY_IN_MS, sampleStream| Constructor and Description |
|---|
HystrixConfigSseServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decrementCurrentConcurrentConnections() |
protected int |
getMaxNumberConcurrentConnectionsAllowed() |
protected int |
getNumberCurrentConnections() |
protected int |
incrementAndGetCurrentConcurrentConnections() |
destroy, doGet, init, shutdowndoDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceprotected int getMaxNumberConcurrentConnectionsAllowed()
getMaxNumberConcurrentConnectionsAllowed in class HystrixSampleSseServletprotected int getNumberCurrentConnections()
getNumberCurrentConnections in class HystrixSampleSseServletprotected int incrementAndGetCurrentConcurrentConnections()
incrementAndGetCurrentConcurrentConnections in class HystrixSampleSseServletprotected void decrementCurrentConcurrentConnections()
decrementCurrentConcurrentConnections in class HystrixSampleSseServlet