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
- See Also:
-
Field Summary
Fields inherited from class FcSampleSseServlet
DEFAULT_PAUSE_POLLER_THREAD_DELAY_IN_MSFields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected intSame key, same file, no Archaius.protected intprotected intMethods inherited from class FcSampleSseServlet
destroy, doGet, init, shutdownMethods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, init, service, serviceMethods inherited from class jakarta.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log
-
Constructor Details
-
FcDashboardStreamServlet
public FcDashboardStreamServlet()
-
-
Method Details
-
getMaxNumberConcurrentConnectionsAllowed
protected int getMaxNumberConcurrentConnectionsAllowed()Same key, same file, no Archaius. This used to be an ArchaiusDynamicIntProperty, which is exactly the coupling that madeFrontcacheConfigBootstrapListenernecessary: 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:
getMaxNumberConcurrentConnectionsAllowedin classFcSampleSseServlet
-
getNumberCurrentConnections
protected int getNumberCurrentConnections()- Specified by:
getNumberCurrentConnectionsin classFcSampleSseServlet
-
incrementAndGetCurrentConcurrentConnections
protected int incrementAndGetCurrentConcurrentConnections()- Specified by:
incrementAndGetCurrentConcurrentConnectionsin classFcSampleSseServlet
-
decrementCurrentConcurrentConnections
protected void decrementCurrentConcurrentConnections()- Specified by:
decrementCurrentConcurrentConnectionsin classFcSampleSseServlet
-