Show / Hide Table of Contents

    Class ThreadLock

    Abstract base class that provides a synchronization interface for derived lock types

    Inheritance
    System.Object
    ThreadLock
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Support.Threading
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class ThreadLock

    Properties

    | Improve this Doc View Source

    MonitorLock

    Wrapper class for the Monitor Enter/Exit methods using the ThreadLock interface

    Declaration
    public static ThreadLock MonitorLock { get; }
    Property Value
    Type Description
    ThreadLock
    | Improve this Doc View Source

    NullLock

    A ThreadLock class that actually does no locking Used in ParallelMultiSearcher/MultiSearcher

    Declaration
    public static ThreadLock NullLock { get; }
    Property Value
    Type Description
    ThreadLock

    Methods

    | Improve this Doc View Source

    Enter(Object)

    Declaration
    public abstract void Enter(object obj)
    Parameters
    Type Name Description
    System.Object obj
    | Improve this Doc View Source

    Exit(Object)

    Declaration
    public abstract void Exit(object obj)
    Parameters
    Type Name Description
    System.Object obj

    Extension Methods

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