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, shutdown
protected int getMaxNumberConcurrentConnectionsAllowed()
getMaxNumberConcurrentConnectionsAllowed
in class HystrixSampleSseServlet
protected int getNumberCurrentConnections()
getNumberCurrentConnections
in class HystrixSampleSseServlet
protected int incrementAndGetCurrentConcurrentConnections()
incrementAndGetCurrentConcurrentConnections
in class HystrixSampleSseServlet
protected void decrementCurrentConcurrentConnections()
decrementCurrentConcurrentConnections
in class HystrixSampleSseServlet