Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class LockStressTest

    Simple standalone tool that forever acquires & releases a lock using a specific LockFactory.

    LUCENENET specific: In the Java implementation, this class' Main method was intended to be called from the command line. However, in .NET a method within a DLL can't be directly called from the command line so we provide a .NET tool, lucene-cli, with a command that maps to that method: lock stress-test
    Inheritance
    object
    LockStressTest
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Store
    Assembly: Lucene.Net.dll
    Syntax
    public static class LockStressTest

    Methods

    Main(string[])

    LUCENENET specific: In the Java implementation, this Main method was intended to be called from the command line. However, in .NET a method within a DLL can't be directly called from the command line so we provide a .NET tool, lucene-cli, with a command that maps to this method: lock stress-test

    Declaration
    [STAThread]
    public static void Main(string[] args)
    Parameters
    Type Name Description
    string[] args

    The command line arguments

    Exceptions
    Type Condition
    ArgumentException

    Thrown if the incorrect number of arguments are provided

    See Also
    VerifyingLockFactory
    LockVerifyServer

    See Also

    VerifyingLockFactory
    LockVerifyServer
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.