Show / Hide Table of Contents

    Class TaskSchedulerCompletionService<T>

    Inheritance
    System.Object
    TaskSchedulerCompletionService<T>
    Implements
    ICompletionService<T>
    Namespace: Lucene.Net.Support.Threading
    Assembly: Lucene.Net.dll
    Syntax
    public class TaskSchedulerCompletionService<T> : object, ICompletionService<T>
    Type Parameters
    Name Description
    T

    Constructors

    | Improve this Doc View Source

    TaskSchedulerCompletionService(TaskScheduler)

    Declaration
    public TaskSchedulerCompletionService(TaskScheduler scheduler)
    Parameters
    Type Name Description
    TaskScheduler scheduler

    Methods

    | Improve this Doc View Source

    Submit(ICallable<T>)

    Declaration
    public Task<T> Submit(ICallable<T> task)
    Parameters
    Type Name Description
    ICallable<T> task
    Returns
    Type Description
    Task<T>
    | Improve this Doc View Source

    Take()

    Declaration
    public Task<T> Take()
    Returns
    Type Description
    Task<T>

    Implements

    ICompletionService<V>
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)