Table of Contents

Class TaskAssignmentUtils

Namespace
Org.Apache.Kafka.Streams.Processor.Assignment
Assembly
MASES.KNet.dll
public class TaskAssignmentUtils : JVMBridgeBase<TaskAssignmentUtils>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<TaskAssignmentUtils>
TaskAssignmentUtils
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<TaskAssignmentUtils>.IsAssignableFrom(IJavaType)
JVMBridgeBase<TaskAssignmentUtils>.IsAssignableFrom<T>()
JVMBridgeBase<TaskAssignmentUtils>.Execute<T>(params T[])
JVMBridgeBase<TaskAssignmentUtils>.DynBridgeClazz
JVMBridgeBase<TaskAssignmentUtils>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener

Constructors

TaskAssignmentUtils()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public TaskAssignmentUtils()

TaskAssignmentUtils(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

public TaskAssignmentUtils(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

DefaultStandbyTaskAssignment(ApplicationState, Map<ProcessId, KafkaStreamsAssignment>)

public static void DefaultStandbyTaskAssignment(ApplicationState arg0, Map<ProcessId, KafkaStreamsAssignment> arg1)

Parameters

arg0 ApplicationState

ApplicationState

arg1 Map<ProcessId, KafkaStreamsAssignment>

Map

IdentityAssignment(ApplicationState)

public static Map<ProcessId, KafkaStreamsAssignment> IdentityAssignment(ApplicationState arg0)

Parameters

arg0 ApplicationState

ApplicationState

Returns

Map<ProcessId, KafkaStreamsAssignment>

Map

OptimizeRackAwareActiveTasks(RackAwareOptimizationParams, Map<ProcessId, KafkaStreamsAssignment>)

public static void OptimizeRackAwareActiveTasks(TaskAssignmentUtils.RackAwareOptimizationParams arg0, Map<ProcessId, KafkaStreamsAssignment> arg1)

Parameters

arg0 TaskAssignmentUtils.RackAwareOptimizationParams

TaskAssignmentUtils.RackAwareOptimizationParams

arg1 Map<ProcessId, KafkaStreamsAssignment>

Map

OptimizeRackAwareStandbyTasks(RackAwareOptimizationParams, Map<ProcessId, KafkaStreamsAssignment>)

public static void OptimizeRackAwareStandbyTasks(TaskAssignmentUtils.RackAwareOptimizationParams arg0, Map<ProcessId, KafkaStreamsAssignment> arg1)

Parameters

arg0 TaskAssignmentUtils.RackAwareOptimizationParams

TaskAssignmentUtils.RackAwareOptimizationParams

arg1 Map<ProcessId, KafkaStreamsAssignment>

Map

ValidateTaskAssignment(ApplicationState, TaskAssignment)

public static TaskAssignor.AssignmentError ValidateTaskAssignment(ApplicationState arg0, TaskAssignor.TaskAssignment arg1)

Parameters

arg0 ApplicationState

ApplicationState

arg1 TaskAssignor.TaskAssignment

TaskAssignor.TaskAssignment

Returns

TaskAssignor.AssignmentError

TaskAssignor.AssignmentError