Table of Contents

Class GarbageCollectedMemoryPool

Namespace
Org.Apache.Kafka.Common.Memory
Assembly
MASES.KNet.dll
public class GarbageCollectedMemoryPool : SimpleMemoryPool, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IMemoryPool
Inheritance
GarbageCollectedMemoryPool
Implements
Inherited Members

Constructors

GarbageCollectedMemoryPool(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public GarbageCollectedMemoryPool(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

GarbageCollectedMemoryPool(long, int, bool, Sensor)

public GarbageCollectedMemoryPool(long arg0, int arg1, bool arg2, Sensor arg3)

Parameters

arg0 long

long

arg1 int

int

arg2 bool

bool

arg3 Sensor

Sensor

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Close()

public void Close()

CreatePoolableInstance(long, int, bool, Sensor)

HPA initializer for GarbageCollectedMemoryPool(long arg0, int arg1, bool arg2, Org.Apache.Kafka.Common.Metrics.Sensor arg3)

public static GarbageCollectedMemoryPool CreatePoolableInstance(long arg0, int arg1, bool arg2, Sensor arg3)

Parameters

arg0 long
arg1 int
arg2 bool
arg3 Sensor

Returns

GarbageCollectedMemoryPool

Operators

implicit operator AutoCloseable(GarbageCollectedMemoryPool)

public static implicit operator AutoCloseable(GarbageCollectedMemoryPool t)

Parameters

t GarbageCollectedMemoryPool

Returns

AutoCloseable