Class MemoryPoolMXBean
- Namespace
- Java.Lang.Management
- Assembly
- MASES.JNet.dll
public class MemoryPoolMXBean : PlatformManagedObject, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IMemoryPoolMXBean, IPlatformManagedObject
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<PlatformManagedObject>MemoryPoolMXBean
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<PlatformManagedObject>.SExecuteWithSignature<TReturn>(string, string, params object[])JVMBridgeBase<PlatformManagedObject>.IsAssignableFrom(IJavaType)JVMBridgeBase<PlatformManagedObject>.IsAssignableFrom<T>()JVMBridgeBase<PlatformManagedObject>.Execute<T>(params T[])JVMBridgeBase<PlatformManagedObject>.DynBridgeClazzJVMBridgeBase<PlatformManagedObject>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
MemoryPoolMXBean()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("MemoryPoolMXBean class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public MemoryPoolMXBean()
MemoryPoolMXBean(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("MemoryPoolMXBean class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public MemoryPoolMXBean(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
CollectionUsage
public MemoryUsage CollectionUsage { get; }
Property Value
CollectionUsageThreshold
https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryPoolMXBean.html#getCollectionUsageThreshold() https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryPoolMXBean.html#setCollectionUsageThreshold(long)
public long CollectionUsageThreshold { get; set; }
Property Value
CollectionUsageThresholdCount
public long CollectionUsageThresholdCount { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
MemoryManagerNames
public String[] MemoryManagerNames { get; }
Property Value
- String[]
Name
public String Name { get; }
Property Value
PeakUsage
public MemoryUsage PeakUsage { get; }
Property Value
Type
public MemoryType Type { get; }
Property Value
Usage
public MemoryUsage Usage { get; }
Property Value
UsageThreshold
https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryPoolMXBean.html#getUsageThreshold() https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryPoolMXBean.html#setUsageThreshold(long)
public long UsageThreshold { get; set; }
Property Value
UsageThresholdCount
public long UsageThresholdCount { get; }
Property Value
Methods
IsCollectionUsageThresholdExceeded()
public bool IsCollectionUsageThresholdExceeded()
Returns
IsCollectionUsageThresholdSupported()
public bool IsCollectionUsageThresholdSupported()
Returns
IsUsageThresholdExceeded()
public bool IsUsageThresholdExceeded()
Returns
IsUsageThresholdSupported()
public bool IsUsageThresholdSupported()
Returns
IsValid()
public bool IsValid()
Returns
ResetPeakUsage()
public void ResetPeakUsage()