Table of Contents

Class ReassignPartitionsCommand

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

Constructors

ReassignPartitionsCommand()

public ReassignPartitionsCommand()

ReassignPartitionsCommand(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 ReassignPartitionsCommand(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 ReassignPartitionsCommand()

public static ReassignPartitionsCommand CreatePoolableInstance()

Returns

ReassignPartitionsCommand

ExecuteAssignment(Admin, bool, String, long, long, long, Time, bool)

public static void ExecuteAssignment(Admin arg0, bool arg1, String arg2, long arg3, long arg4, long arg5, Time arg6, bool arg7)

Parameters

arg0 Admin

Admin

arg1 bool

bool

arg2 String

String

arg3 long

long

arg4 long

long

arg5 long

long

arg6 Time

Time

arg7 bool

bool

Exceptions

ExecutionException
InterruptedException
TerseException

FormatAsReassignmentJson(Map<TopicPartition, List<Integer>>, Map<TopicPartitionReplica, String>)

public static String FormatAsReassignmentJson(Map<TopicPartition, List<Integer>> arg0, Map<TopicPartitionReplica, String> arg1)

Parameters

arg0 Map<TopicPartition, List<Integer>>

Map

arg1 Map<TopicPartitionReplica, String>

Map

Returns

String

String

GenerateAssignment(Admin, String, String, bool)

public static Map.Entry<Map<TopicPartition, List<Integer>>, Map<TopicPartition, List<Integer>>> GenerateAssignment(Admin arg0, String arg1, String arg2, bool arg3)

Parameters

arg0 Admin

Admin

arg1 String

String

arg2 String

String

arg3 bool

bool

Returns

Map.Entry<Map<TopicPartition, List<Integer>>, Map<TopicPartition, List<Integer>>>

Map.Entry

Exceptions

ExecutionException
InterruptedException

Main(String[])

public static void Main(String[] arg0)

Parameters

arg0 String[]

String