Show / Hide Table of Contents

    Class ThreadLock

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

    Inheritance
    System.Object
    ThreadLock
    Namespace: Lucene.Net.Support.Threading
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class ThreadLock : object

    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
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)