Table of Contents

Class ToolsUtils

Namespace
Org.Apache.Kafka.Tools
Assembly
MASES.KNet.dll
public class ToolsUtils : JVMBridgeBase<ToolsUtils>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
ToolsUtils
Implements

Constructors

ToolsUtils()

public ToolsUtils()

ToolsUtils(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 ToolsUtils(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

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

CreatePoolableInstance()

HPA initializer for ToolsUtils()

public static ToolsUtils CreatePoolableInstance()

Returns

ToolsUtils

Duplicates<T>(List<T>)

public static Set<T> Duplicates<T>(List<T> arg0)

Parameters

arg0 List<T>

List

Returns

Set<T>

Set

Type Parameters

T

Minus<T>(Set<T>, params T[])

public static Set<T> Minus<T>(Set<T> arg0, params T[] arg1)

Parameters

arg0 Set<T>

Set

arg1 T[]

T

Returns

Set<T>

Set

Type Parameters

T

PrettyPrintTable(List<String>, List<List<String>>, PrintStream)

public static void PrettyPrintTable(List<String> arg0, List<List<String>> arg1, PrintStream arg2)

Parameters

arg0 List<String>

List

arg1 List<List<String>>

List

arg2 PrintStream

PrintStream

PrintMetrics<Arg0ExtendsOrg_Apache_Kafka_Common_Metric>(Map<MetricName, Arg0ExtendsOrg_Apache_Kafka_Common_Metric>)

public static void PrintMetrics<Arg0ExtendsOrg_Apache_Kafka_Common_Metric>(Map<MetricName, Arg0ExtendsOrg_Apache_Kafka_Common_Metric> arg0) where Arg0ExtendsOrg_Apache_Kafka_Common_Metric : Metric

Parameters

arg0 Map<MetricName, Arg0ExtendsOrg_Apache_Kafka_Common_Metric>

Map

Type Parameters

Arg0ExtendsOrg_Apache_Kafka_Common_Metric

Metric

ValidateBootstrapServer(String)

public static void ValidateBootstrapServer(String arg0)

Parameters

arg0 String

String

Exceptions

IllegalArgumentException