Table of Contents

Class JobDescriptor<TArg, TResult>

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

Compute job descriptor.

public sealed record JobDescriptor<TArg, TResult> : IEquatable<JobDescriptor<TArg, TResult>>

Type Parameters

TArg

Argument type.

TResult

Result type.

Inheritance
JobDescriptor<TArg, TResult>
Implements
IEquatable<JobDescriptor<TArg, TResult>>
Inherited Members

Constructors

JobDescriptor(string, IEnumerable<DeploymentUnit>?, JobExecutionOptions?, IMarshaller<TArg>?, IMarshaller<TResult>?)

Compute job descriptor.

public JobDescriptor(string JobClassName, IEnumerable<DeploymentUnit>? DeploymentUnits = null, JobExecutionOptions? Options = null, IMarshaller<TArg>? ArgMarshaller = null, IMarshaller<TResult>? ResultMarshaller = null)

Parameters

JobClassName string

Java class name of the job to execute.

DeploymentUnits IEnumerable<DeploymentUnit>

Deployment units.

Options JobExecutionOptions

Options.

ArgMarshaller IMarshaller<TArg>

Argument marshaller (serializer).

ResultMarshaller IMarshaller<TResult>

Result marshaller (deserializer).

JobDescriptor(Type, IEnumerable<DeploymentUnit>?, JobExecutionOptions?, IMarshaller<TArg>?, IMarshaller<TResult>?)

Initializes a new instance of the JobDescriptor<TArg, TResult> class.

public JobDescriptor(Type type, IEnumerable<DeploymentUnit>? deploymentUnits = null, JobExecutionOptions? options = null, IMarshaller<TArg>? argMarshaller = null, IMarshaller<TResult>? resultMarshaller = null)

Parameters

type Type

Type implementing IComputeJob<TArg, TResult>.

deploymentUnits IEnumerable<DeploymentUnit>

Deployment units.

options JobExecutionOptions

Options.

argMarshaller IMarshaller<TArg>

Arg marshaller.

resultMarshaller IMarshaller<TResult>

Result marshaller.

Properties

ArgMarshaller

Argument marshaller (serializer).

public IMarshaller<TArg>? ArgMarshaller { get; init; }

Property Value

IMarshaller<TArg>

DeploymentUnits

Deployment units.

public IEnumerable<DeploymentUnit>? DeploymentUnits { get; init; }

Property Value

IEnumerable<DeploymentUnit>

JobClassName

Java class name of the job to execute.

public string JobClassName { get; init; }

Property Value

string

Options

Options.

public JobExecutionOptions? Options { get; init; }

Property Value

JobExecutionOptions

ResultMarshaller

Result marshaller (deserializer).

public IMarshaller<TResult>? ResultMarshaller { get; init; }

Property Value

IMarshaller<TResult>