Package org.eclipse.jetty.server
Class LowResourceMonitor.MaxConnectionsLowResourceCheck
- java.lang.Object
-
- org.eclipse.jetty.server.LowResourceMonitor.MaxConnectionsLowResourceCheck
-
- All Implemented Interfaces:
LowResourceMonitor.LowResourceCheck
- Enclosing class:
- LowResourceMonitor
@ManagedObject("Check max allowed connections on connectors") @Deprecated(since="2021-05-27") public class LowResourceMonitor.MaxConnectionsLowResourceCheck extends Object implements LowResourceMonitor.LowResourceCheck
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description MaxConnectionsLowResourceCheck(int maxConnections)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getMaxConnections()
Deprecated.Replaced by ConnectionLimitString
getReason()
Deprecated.boolean
isLowOnResources()
Deprecated.void
setMaxConnections(int maxConnections)
Deprecated.Replaced by ConnectionLimitString
toString()
Deprecated.
-
-
-
Method Detail
-
getMaxConnections
@ManagedAttribute("The maximum connections allowed for the monitored connectors before low resource handling is activated") @Deprecated public int getMaxConnections()
Deprecated.Replaced by ConnectionLimit- Returns:
- The maximum connections allowed for the monitored connectors before low resource handling is activated
-
setMaxConnections
@Deprecated public void setMaxConnections(int maxConnections)
Deprecated.Replaced by ConnectionLimit- Parameters:
maxConnections
- The maximum connections before low resources state is triggered
-
isLowOnResources
public boolean isLowOnResources()
Deprecated.- Specified by:
isLowOnResources
in interfaceLowResourceMonitor.LowResourceCheck
-
getReason
public String getReason()
Deprecated.- Specified by:
getReason
in interfaceLowResourceMonitor.LowResourceCheck
-
-