Class FcDashboardStreamServlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.frontcache.resilience.stream.FcSampleSseServlet
org.frontcache.resilience.stream.FcDashboardStreamServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

public class FcDashboardStreamServlet extends FcSampleSseServlet
See Also:
  • Constructor Details

    • FcDashboardStreamServlet

      public FcDashboardStreamServlet()
  • Method Details

    • getMaxNumberConcurrentConnectionsAllowed

      protected int getMaxNumberConcurrentConnectionsAllowed()
      Same key, same file, no Archaius. This used to be an Archaius DynamicIntProperty, which is exactly the coupling that made FrontcacheConfigBootstrapListener necessary: touching this servlet's static initializer before any page request installed Archaius first and silently dropped every per-command override in hystrix.properties. Read from a plain Properties instead, per request, so nothing depends on class-initialization order.
      Specified by:
      getMaxNumberConcurrentConnectionsAllowed in class FcSampleSseServlet
    • getNumberCurrentConnections

      protected int getNumberCurrentConnections()
      Specified by:
      getNumberCurrentConnections in class FcSampleSseServlet
    • incrementAndGetCurrentConcurrentConnections

      protected int incrementAndGetCurrentConcurrentConnections()
      Specified by:
      incrementAndGetCurrentConcurrentConnections in class FcSampleSseServlet
    • decrementCurrentConcurrentConnections

      protected void decrementCurrentConcurrentConnections()
      Specified by:
      decrementCurrentConcurrentConnections in class FcSampleSseServlet