Class MemoryPressureSettings
- Namespace
- WebKit
- Assembly
- WebKit-6.0.dll
public sealed class MemoryPressureSettings : BoxedRecord, IEquatable<MemoryPressureSettings>
- Inheritance
-
MemoryPressureSettings
- Implements
- Inherited Members
Constructors
MemoryPressureSettings(MemoryPressureSettingsOwnedHandle)
public MemoryPressureSettings(MemoryPressureSettingsOwnedHandle handle)
Parameters
Properties
Handle
public MemoryPressureSettingsOwnedHandle Handle { get; }
Property Value
Methods
Copy()
[Version("2.34")]
public MemoryPressureSettings Copy()
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Equals(MemoryPressureSettings?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(MemoryPressureSettings? other)
Parameters
other
MemoryPressureSettingsAn object to compare with this object.
Returns
Free()
[Version("2.34")]
public void Free()
GetConservativeThreshold()
[Version("2.34")]
public double GetConservativeThreshold()
Returns
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetKillThreshold()
[Version("2.34")]
public double GetKillThreshold()
Returns
GetMemoryLimit()
[Version("2.34")]
public uint GetMemoryLimit()
Returns
GetPollInterval()
[Version("2.34")]
public double GetPollInterval()
Returns
GetStrictThreshold()
[Version("2.34")]
public double GetStrictThreshold()
Returns
New()
[Version("2.34")]
public static MemoryPressureSettings New()
Returns
SetConservativeThreshold(double)
[Version("2.34")]
public void SetConservativeThreshold(double value)
Parameters
value
double
SetKillThreshold(double)
[Version("2.34")]
public void SetKillThreshold(double value)
Parameters
value
double
SetMemoryLimit(uint)
[Version("2.34")]
public void SetMemoryLimit(uint memoryLimit)
Parameters
memoryLimit
uint
SetPollInterval(double)
[Version("2.34")]
public void SetPollInterval(double value)
Parameters
value
double
SetStrictThreshold(double)
[Version("2.34")]
public void SetStrictThreshold(double value)
Parameters
value
double