Package org.eclipse.jetty.server
Class LowResourceMonitor.MemoryLowResourceCheck
- java.lang.Object
-
- org.eclipse.jetty.server.LowResourceMonitor.MemoryLowResourceCheck
-
- All Implemented Interfaces:
LowResourceMonitor.LowResourceCheck
- Enclosing class:
- LowResourceMonitor
@Deprecated(since="2021-05-27") public class LowResourceMonitor.MemoryLowResourceCheck extends java.lang.Object implements LowResourceMonitor.LowResourceCheck
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description MemoryLowResourceCheck(long maxMemory)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description long
getMaxMemory()
Deprecated.java.lang.String
getReason()
Deprecated.boolean
isLowOnResources()
Deprecated.void
setMaxMemory(long maxMemoryBytes)
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Method Detail
-
isLowOnResources
public boolean isLowOnResources()
Deprecated.- Specified by:
isLowOnResources
in interfaceLowResourceMonitor.LowResourceCheck
-
getMaxMemory
public long getMaxMemory()
Deprecated.
-
setMaxMemory
public void setMaxMemory(long maxMemoryBytes)
Deprecated.- Parameters:
maxMemoryBytes
- The maximum memory in bytes in use before low resources is triggered.
-
getReason
public java.lang.String getReason()
Deprecated.- Specified by:
getReason
in interfaceLowResourceMonitor.LowResourceCheck
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-