Apache Ignite C++ Client
Loading...
Searching...
No Matches
ignite::compute Class Reference

#include <compute.h>

Public Member Functions

IGNITE_API void submit_async (std::shared_ptr< job_target > target, std::shared_ptr< job_descriptor > descriptor, const binary_object &arg, ignite_callback< job_execution > callback)
IGNITE_API job_execution submit (std::shared_ptr< job_target > target, std::shared_ptr< job_descriptor > descriptor, const binary_object &arg)
IGNITE_API void submit_broadcast_async (std::shared_ptr< broadcast_job_target > target, std::shared_ptr< job_descriptor > descriptor, const binary_object &arg, ignite_callback< broadcast_execution > callback)
IGNITE_API broadcast_execution submit_broadcast (std::shared_ptr< broadcast_job_target > target, std::shared_ptr< job_descriptor > descriptor, const binary_object &arg)

Friends

class ignite_client

Detailed Description

Ignite Compute facade.

Member Function Documentation

◆ submit()

IGNITE_API job_execution ignite::compute::submit ( std::shared_ptr< job_target > target,
std::shared_ptr< job_descriptor > descriptor,
const binary_object & arg )
inline

Submits for execution a compute job represented by the given class on the specified target.

Parameters
targetJob target.
descriptorDescriptor.
argJob argument.
Returns
Job execution result.

◆ submit_async()

void ignite::compute::submit_async ( std::shared_ptr< job_target > target,
std::shared_ptr< job_descriptor > descriptor,
const binary_object & arg,
ignite_callback< job_execution > callback )

Submits for execution a compute job represented by the given class for an execution on the specified target.

Parameters
targetJob target.
descriptorDescriptor.
argJob argument.
callbackA callback called on operation completion with job execution result.

◆ submit_broadcast()

IGNITE_API broadcast_execution ignite::compute::submit_broadcast ( std::shared_ptr< broadcast_job_target > target,
std::shared_ptr< job_descriptor > descriptor,
const binary_object & arg )
inline

Broadcast a compute job represented by the given class on all the specified nodes.

Parameters
targetJob target.
descriptorDescriptor.
argJob argument.
Returns
Job execution result.

◆ submit_broadcast_async()

void ignite::compute::submit_broadcast_async ( std::shared_ptr< broadcast_job_target > target,
std::shared_ptr< job_descriptor > descriptor,
const binary_object & arg,
ignite_callback< broadcast_execution > callback )

Broadcast a compute job represented by the given class for an execution on all the specified nodes.

Parameters
targetJob target.
descriptorDescriptor.
argJob argument.
callbackA callback called on operation completion with jobs execution result.

The documentation for this class was generated from the following files: