Show / Hide Table of Contents

    Class TimeLimitingCollector.TimerThread

    Thread used to timeout search requests. Can be stopped completely with StopTimer()

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    ThreadClass
    TimeLimitingCollector.TimerThread
    Implements
    IThreadRunnable
    Inherited Members
    ThreadClass.SafeRun(ThreadStart)
    ThreadClass.Start()
    ThreadClass.Interrupt()
    ThreadClass.Instance
    ThreadClass.Name
    ThreadClass.SetDaemon(Boolean)
    ThreadClass.IsAlive
    ThreadClass.IsBackground
    ThreadClass.IsDebug
    ThreadClass.Join()
    ThreadClass.Join(Int64)
    ThreadClass.Join(Int64, Int32)
    ThreadClass.Resume()
    ThreadClass.Suspend()
    ThreadClass.ToString()
    ThreadClass.CurrentThread()
    ThreadClass.Sleep(Int64)
    ThreadClass.Current()
    ThreadClass.Equals(Object)
    ThreadClass.GetHashCode()
    ThreadClass.State
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class TimerThread : ThreadClass, IThreadRunnable

    Constructors

    | Improve this Doc View Source

    TimerThread(Counter)

    Declaration
    public TimerThread(Counter counter)
    Parameters
    Type Name Description
    Counter counter
    | Improve this Doc View Source

    TimerThread(Int64, Counter)

    Declaration
    public TimerThread(long resolution, Counter counter)
    Parameters
    Type Name Description
    System.Int64 resolution
    Counter counter

    Fields

    | Improve this Doc View Source

    DEFAULT_RESOLUTION

    Declaration
    public const int DEFAULT_RESOLUTION = 20
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    THREAD_NAME

    Declaration
    public const string THREAD_NAME = "TimeLimitedCollector timer thread"
    Field Value
    Type Description
    System.String

    Properties

    | Improve this Doc View Source

    Milliseconds

    Get the timer value in milliseconds.

    Declaration
    public long Milliseconds { get; }
    Property Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    Resolution

    Return the timer resolution.

    Declaration
    public long Resolution { get; set; }
    Property Value
    Type Description
    System.Int64

    Methods

    | Improve this Doc View Source

    Run()

    Declaration
    public override void Run()
    Overrides
    ThreadClass.Run()
    | Improve this Doc View Source

    StopTimer()

    Stops the timer thread

    Declaration
    public void StopTimer()

    Implements

    IThreadRunnable

    Extension Methods

    Number.IsNumber(Object)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)