public class HystrixUtilizationSseServlet 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>HystrixUtilizationSseServlet</display-name>
<servlet-name>HystrixUtilizationSseServlet</servlet-name>
<servlet-class>com.netflix.hystrix.contrib.sample.stream.HystrixUtilizationSseServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HystrixUtilizationSseServlet</servlet-name>
<url-pattern>/hystrix/utilization.stream</url-pattern>
</servlet-mapping>
DEFAULT_PAUSE_POLLER_THREAD_DELAY_IN_MS, sampleStream
Constructor and Description |
---|
HystrixUtilizationSseServlet() |
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