Table of Contents

Class JobTarget

Namespace
Apache.Ignite.Compute
Assembly
Apache.Ignite.dll

Compute job target.

public static class JobTarget
Inheritance
JobTarget
Inherited Members

Methods

AnyNode(params IClusterNode[])

Creates a job target for any node from the provided collection.

public static IJobTarget<IEnumerable<IClusterNode>> AnyNode(params IClusterNode[] nodes)

Parameters

nodes IClusterNode[]

Nodes.

Returns

IJobTarget<IEnumerable<IClusterNode>>

Any node job target.

AnyNode(IEnumerable<IClusterNode>)

Creates a job target for any node from the provided collection.

public static IJobTarget<IEnumerable<IClusterNode>> AnyNode(IEnumerable<IClusterNode> nodes)

Parameters

nodes IEnumerable<IClusterNode>

Nodes.

Returns

IJobTarget<IEnumerable<IClusterNode>>

Any node job target.

Colocated<TKey>(QualifiedName, TKey)

Creates a colocated job target for a specific table and key.

public static IJobTarget<TKey> Colocated<TKey>(QualifiedName tableName, TKey key) where TKey : notnull

Parameters

tableName QualifiedName

Table name.

key TKey

Key.

Returns

IJobTarget<TKey>

Colocated job target.

Type Parameters

TKey

Key type.

Colocated<TKey>(string, TKey)

Creates a colocated job target for a specific table and key.

public static IJobTarget<TKey> Colocated<TKey>(string tableName, TKey key) where TKey : notnull

Parameters

tableName string

Table name.

key TKey

Key.

Returns

IJobTarget<TKey>

Colocated job target.

Type Parameters

TKey

Key type.

Node(IClusterNode)

Creates a job target for a specific node.

public static IJobTarget<IClusterNode> Node(IClusterNode node)

Parameters

node IClusterNode

Node.

Returns

IJobTarget<IClusterNode>

Single node job target.