Search Results for

    Show / Hide Table of Contents

    Interface IResultsService

    Interface of the Results Service RESTful API

    Namespace: Nvidia.Clara.DicomAdapter.API
    Assembly: Nvidia.Clara.Dicom.API.dll
    Syntax
    public interface IResultsService

    Methods

    | Improve this Doc View Source

    GetPendingJobs(String, CancellationToken, Int32)

    Retrieves a list of pending tasks assigned to an agent from Results Service

    Declaration
    Task<IList<TaskResponse>> GetPendingJobs(string agent, CancellationToken cancellationToken, int count)
    Parameters
    Type Name Description
    String agent

    name of the agent

    CancellationToken cancellationToken
    Int32 count

    number of tasks to retrieve

    Returns
    Type Description
    Task<IList<TaskResponse>>

    List of tasks

    | Improve this Doc View Source

    ReportFailure(Guid, Boolean, CancellationToken)

    Reports failed status to the Results Service for the specified task

    Declaration
    Task<bool> ReportFailure(Guid taskId, bool retryLater, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    Guid taskId

    task to update

    Boolean retryLater

    indicates if task will be retries at a later time

    CancellationToken cancellationToken
    Returns
    Type Description
    Task<Boolean>

    bool if call was successful; false otherwise

    | Improve this Doc View Source

    ReportSuccess(Guid, CancellationToken)

    Reports successful status to the Results Service for the specified task

    Declaration
    Task<bool> ReportSuccess(Guid taskId, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    Guid taskId

    task to update

    CancellationToken cancellationToken
    Returns
    Type Description
    Task<Boolean>

    bool if call was successful; false otherwise

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2021 NVIDIA Corporation
    NVIDIA Clara™ is a trademark of NVIDIA Corporation.
    Generated by DocFX