Search Results for

    Show / Hide Table of Contents

    Interface IComputeTaskSession

    Stores custom compute task attributes. Specific compute task implementations must be annotated with the ComputeTaskSessionFullSupportAttribute to enable distributing the task attributes to the compute jobs that the task creates.

    Namespace: Apache.Ignite.Core.Compute
    Assembly: Apache.Ignite.Core.dll
    Syntax
    public interface IComputeTaskSession

    Methods

    GetAttribute<TK, TV>(TK)

    Gets the value of the given key or null if the key does not exist.

    Declaration
    TV GetAttribute<TK, TV>(TK key)
    Parameters
    Type Name Description
    TK key
    Returns
    Type Description
    TV
    Type Parameters
    Name Description
    TK
    TV

    SetAttributes<TK, TV>(KeyValuePair<TK, TV>[])

    Stores the collection of attributes.

    Declaration
    void SetAttributes<TK, TV>(params KeyValuePair<TK, TV>[] attrs)
    Parameters
    Type Name Description
    KeyValuePair<TK, TV>[] attrs
    Type Parameters
    Name Description
    TK
    TV
    In This Article
    Back to top © 2015 - 2019 The Apache Software Foundation