@ManagedObject(value="Check max allowed connections on connectors") public class LowResourceMonitor.MaxConnectionsLowResourceCheck extends java.lang.Object implements LowResourceMonitor.LowResourceCheck
Constructor and Description |
---|
MaxConnectionsLowResourceCheck(int maxConnections) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxConnections()
Deprecated.
Replaced by ConnectionLimit
|
java.lang.String |
getReason() |
boolean |
isLowOnResources() |
void |
setMaxConnections(int maxConnections)
Deprecated.
Replaced by ConnectionLimit
|
java.lang.String |
toString() |
public MaxConnectionsLowResourceCheck(int maxConnections)
@ManagedAttribute(value="The maximum connections allowed for the monitored connectors before low resource handling is activated") @Deprecated public int getMaxConnections()
@Deprecated public void setMaxConnections(int maxConnections)
maxConnections
- The maximum connections before low resources state is triggeredpublic boolean isLowOnResources()
isLowOnResources
in interface LowResourceMonitor.LowResourceCheck
public java.lang.String getReason()
getReason
in interface LowResourceMonitor.LowResourceCheck
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1995–2023 Webtide. All rights reserved.